diff options
| author | 2016-11-23 21:36:19 +0100 | |
|---|---|---|
| committer | 2016-11-23 21:36:37 +0100 | |
| commit | 1746ea2749f651da0423bfe637cddf0c22df831a (patch) | |
| tree | ebe016acf5b1e641878efac41a750255071bdab3 /bash | |
| parent | 1c99670e651c642ae2b5a15c464ce7810653e18c (diff) | |
| download | dotfiles-1746ea2749f651da0423bfe637cddf0c22df831a.tar.gz dotfiles-1746ea2749f651da0423bfe637cddf0c22df831a.tar.bz2 dotfiles-1746ea2749f651da0423bfe637cddf0c22df831a.zip | |
Updated dotfiles
Diffstat (limited to 'bash')
| -rwxr-xr-x | bash/.bashrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index d9f3a6c..c86b8cb 100755 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -44,7 +44,7 @@ man() { | |||
| 44 | 44 | ||
| 45 | # Helpfull functions | 45 | # Helpfull functions |
| 46 | exists() { | 46 | exists() { |
| 47 | hash $@ 2> /dev/null | 47 | type $@ &> /dev/null |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | is_function() { | 50 | is_function() { |
| @@ -157,6 +157,10 @@ if exists gnome-keyring-daemon; then | |||
| 157 | fi | 157 | fi |
| 158 | fi | 158 | fi |
| 159 | 159 | ||
| 160 | if exists sensible.bash; then | ||
| 161 | source sensible.bash | ||
| 162 | fi | ||
| 163 | |||
| 160 | # Fancy bash prompt | 164 | # Fancy bash prompt |
| 161 | if exists liquidprompt; then | 165 | if exists liquidprompt; then |
| 162 | source $(which liquidprompt) 2> /dev/null | 166 | source $(which liquidprompt) 2> /dev/null |
