Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taranjeet/dotfiles
dotfiles
https://github.com/taranjeet/dotfiles
Last synced: 4 days ago
JSON representation
dotfiles
- Host: GitHub
- URL: https://github.com/taranjeet/dotfiles
- Owner: taranjeet
- Created: 2015-10-08T04:58:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T15:12:52.000Z (over 5 years ago)
- Last Synced: 2024-11-10T06:25:47.131Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dotfiles
### Installation
```
git clone https://github.com/taranjeet/dotfiles.git ~/.dotfiles
```Then add the following lines to your `.bashrc`
```
source ~/.dotfiles/.aliases
source ~/.dotfiles/.functions```
or to include all at once, add
```
for file in ~/.dotfiles/.{aliases,functions}; do
[ -r "$file" ] && source "$file"
done
unset file# To use .gitconfig, simply move it to the home folder
# or create a symlink
ln -sf ~/.dotfiles/.gitconfig ~/.gitconfig```
### Includes
#### Alias
```
.. # cd ..
vir # creates a python virtual env
........ # and many more```
#### Functions
```
$ nf # creates a newfile and opens it with sublime
$ mk # creates a new directory and cd into it
$ dwnl # downloads from youtubes and create a mp3 file for the same
```#### Setup Machine
A script which install basic packages specific to my needs. Run the script by
```
sudo ./setup-machine.sh
```### Template for C++ programs
A python script which generates a C++ program template. Run the script by
```
./template.py
# or
./template.py
```