2012-05-24 01:47:06 +02:00
|
|
|
if [ $commands[fasd] ]; then # check if fasd is installed
|
2015-06-02 22:43:38 +02:00
|
|
|
fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache"
|
2013-04-30 06:51:09 +02:00
|
|
|
if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
|
|
|
|
fasd --init auto >| "$fasd_cache"
|
|
|
|
fi
|
|
|
|
source "$fasd_cache"
|
|
|
|
unset fasd_cache
|
2015-08-05 01:02:17 +02:00
|
|
|
|
2018-05-14 16:00:04 +02:00
|
|
|
alias v="f -e \"$EDITOR\""
|
2018-09-03 17:13:18 +02:00
|
|
|
alias o='a -e xdg-open'
|
2018-09-03 17:09:31 +02:00
|
|
|
alias j='zz'
|
2012-05-24 01:47:06 +02:00
|
|
|
fi
|