diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2015-08-01 22:44:59 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2015-08-01 22:44:59 +0200 |
| commit | effe8327668b2cfeef4d7e6fa16435971ed51c3d (patch) | |
| tree | fa31e5fb8a5596d51993d92870225ff5c27ef85c /bashrc | |
| parent | 155f3f5de67a989bca1a7d7ae9e5c4cc6757ad1a (diff) | |
| download | dotfiles-effe8327668b2cfeef4d7e6fa16435971ed51c3d.tar.gz dotfiles-effe8327668b2cfeef4d7e6fa16435971ed51c3d.zip | |
bash: cleaning up
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -47,7 +47,9 @@ __hg_branch() { PS1='\u:\w$(__hg_branch)$(__git_ps1 "\[\033[0;32m\]@\[\033[1;32m\]%s\[\033[0m\]\]") $ ' # Rake completion -complete -C $HOME/.rake_completion -o default rake +if [ -f $HOME/.rake_completion ]; then + complete -C $HOME/.rake_completion -o default rake +fi # KDE Paths export KDEDIR=$HOME/.kde @@ -105,16 +107,6 @@ if [ -d $HOME/.scripts ]; then export PATH=$HOME/.scripts:$PATH fi -# Generates a PDF version of the manual of the given command. -manpdf() { - man -t "$1" | ps2pdf - "$1.pdf" -} - -# Generate the contents for a .gitignore file. -function gi() { - curl http://www.gitignore.io/api/$@ -} - # Finally get RVM straight. [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" export PATH="$PATH:$HOME/.rvm/bin" |
