cd ~
git clone https://github.com/tsunammis/dotfiles.git .dotfiles
At this moment, nothing is happening, see below to decide what you want to integrate to your bash environment.
echo '. ~/.dotfiles/bash/prompt' >> .bashrc
echo '. ~/.dotfiles/bash/whaa' >> .bashrc
- top10 - Top 10 commands
- dirsize - Finds directory sizes and lists them for the current directory
- fared - Find and removed empty directories
- farad - Find and removed all dotfiles
- up - Goes up many dirs as the number passed as argument, if none goes up by 1 by default
echo '. ~/.dotfiles/bash/alias' >> .bashrc
echo '. ~/.dotfiles/bash/git' >> .bashrc
ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig
These commands works fine on MacOSX, never tried on another system.
To improve the user experience, you should install bash-completion from homebrew
brew install bash-completion
echo '. ~/.dotfiles/bash/completion' >> .bashrc
brew tap homebrew/completions