my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
415 B

3 years ago
  1. # check if fasd is installed
  2. if (( ! ${+commands[fasd]} )); then
  3. return
  4. fi
  5. fasd_cache="${ZSH_CACHE_DIR}/fasd-init-cache"
  6. if [[ "$commands[fasd]" -nt "$fasd_cache" || ! -s "$fasd_cache" ]]; then
  7. fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install \
  8. zsh-wcomp zsh-wcomp-install >| "$fasd_cache"
  9. fi
  10. source "$fasd_cache"
  11. unset fasd_cache
  12. alias v='f -e "$EDITOR"'
  13. alias o='a -e xdg-open'
  14. alias j='zz'