Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taranjeet/dotfiles

dotfiles
https://github.com/taranjeet/dotfiles

Last synced: 4 days ago
JSON representation

dotfiles

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
```