add fasd for bash
This commit is contained in:
parent
a570db8a43
commit
70661defc6
6 changed files with 635 additions and 4 deletions
7
.bashrc
7
.bashrc
|
|
@ -99,6 +99,13 @@ if [ -f ~/.bash_aliases ]; then
|
||||||
. ~/.bash_aliases
|
. ~/.bash_aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fasd_cache="$HOME/.fasd-init-bash"
|
||||||
|
if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
|
||||||
|
fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install >| "$fasd_cache"
|
||||||
|
fi
|
||||||
|
source "$fasd_cache"
|
||||||
|
unset fasd_cache
|
||||||
|
|
||||||
# enable color support of ls and also add handy aliases
|
# enable color support of ls and also add handy aliases
|
||||||
#if [ "$TERM" != "dumb" ]; then
|
#if [ "$TERM" != "dumb" ]; then
|
||||||
# eval "`dircolors -b`"
|
# eval "`dircolors -b`"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7cef111e01d05f21202098e48d2dde41b15e7ee2
|
Subproject commit a7203d97c8aacf5e9da8872ff2b269e8af75bb41
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit f7508703d640eebc959036005bcb912aa50161ec
|
Subproject commit 6f214cbb6d42256031aaa9670cf9ea7358e18431
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 54ead5abcbfdd776e1160b5510a129884c39f29c
|
Subproject commit 618d884562f2b99fa62e3fb90e3531bf17396efa
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit ff031d022f2123353bc93a3aa97290287c10a287
|
Subproject commit 935184bd1806e37c1e3319c7f7f3ae94ef5a5313
|
||||||
Loading…
Add table
Add a link
Reference in a new issue