#
# Maintains a frequently used file and directory list for fast access.
#

# Avoid config if requirements are not found.
if not type -q fasd
  exit
end

#
# Tweaks
#

# Change fasd data dir
set -x _FASD_DATA "$HOME/.cache/fasd/data"

#
# Aliases
#

alias ao 'fasd -a -e atom' # find files/dirs with fasd and open them in Atom
alias so 'fasd -a -e subl' # find files/dirs with fasd and open them in Sublime

#
# Maintains a frequently used file and directory list for fast access.
#

# Avoid config if requirements are not found.
if not type -q fasd
  exit
end

#
# Tweaks
#

# Create fasd data dir if it's not already created
mkdir -p "$HOME/.cache/fasd"

# Change fasd data dir
set -x _FASD_DATA "$HOME/.cache/fasd/data"

#
# Aliases
#

alias ao 'fasd -a -e atom' # find files/dirs with fasd and open them in Atom
alias so 'fasd -a -e subl' # find files/dirs with fasd and open them in Sublime

Add command to create folder for fasd during its setup
Add command to create folder for fasd during its setup

guerrero/dotfiles