Files
dotfiles/fish/config.fish
Tim McCarthy 3ccf865b99 Fish config refactor
Move things into sub-files and sub-directories
Add ensure_path function to make sure stuff doesn't get spammed multiple
times into the PATH
2020-03-31 12:42:50 -07:00

31 lines
555 B
Fish

# ============
# Basics, etc…
# ============
# Default editor
set -g -x EDITOR "emacsclient"
set -g -x ALTERNATE_EDITOR "vim"
# Setup PATH
ensure_path ~/bin
ensure_path ~/.emacs.d/bin
# Disable Fish greeting banner
set --universal fish_greeting
# Configuration for apps
for app in ~/.config/fish/apps/*.fish
source $app
end
# OS-specific configuration
source ~/.config/fish/os/os.fish
# Machine-local config
if test -e ~/.config/fish/local.fish
source ~/.config/fish/local.fish
end
# Hybrid Vi Mode
set -g fish_key_bindings hybrid_bindings