/dotfiles

useful dotfiles (essentially bash) to improve your productivity

Primary LanguageShell

Personal dot files

Installation

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.

Add sexy bash prompt

echo '. ~/.dotfiles/bash/prompt' >> .bashrc

Add useful command

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

Add a lot alias

echo '. ~/.dotfiles/bash/alias' >> .bashrc

Add git shortcuts

echo '. ~/.dotfiles/bash/git' >> .bashrc

Add git config

ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig

Warnings

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