diff options
Diffstat (limited to 'bash/.bashrc')
| -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 |
