dotfiles/fish.configlink/config.fish

42 lines
925 B
Fish
Raw Normal View History

2020-07-26 20:15:21 +00:00
#!/usr/local/bin/fish
if status --is-interactive
# Set $PATH for finding programs
set FISH_DIR (readlink ~/.config/fish)
set DOTS (dirname $FISH_DIR)
set PROJ (dirname $DOTS)
set PATH $PATH /usr/local/bin ~/.local/bin $DOTS/bin ~/.cargo/bin
set CDPATH . $HOME $PROJ $DOTS
2020-07-27 01:06:49 +00:00
# Use `vi` in the shell with cursor shapes
2020-07-26 20:15:21 +00:00
fish_vi_key_bindings
2020-07-26 21:31:31 +00:00
set -g fish_vi_force_cursor
set -g fish_cursor_default block
set -g fish_cursor_insert line
set -g fish_cursor_visual block
set -g fish_cursor_replace_one underscore
2020-07-26 20:15:21 +00:00
fish_vi_cursor
# Turn off greeting
set fish_greeting ""
# Autojump
[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish
# Colors
theme_gruvbox
# Aliases
aliases
# Individual features
pyenv
2020-07-27 17:00:26 +00:00
notes
aws
2020-07-26 20:15:21 +00:00
# Use `starship` prompt
starship init fish | source
end
2020-07-25 19:32:16 +00:00