From 782b6d94437f9efaa9de6a5b1795bd787c0e1753 Mon Sep 17 00:00:00 2001 From: ottjk Date: Mon, 1 Jan 2024 12:51:42 -0500 Subject: big terms --- config.fish | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 config.fish (limited to 'config.fish') diff --git a/config.fish b/config.fish new file mode 100644 index 0000000..f2c9832 --- /dev/null +++ b/config.fish @@ -0,0 +1,31 @@ +fish_add_path -p /usr/local/sbin /usr/local/bin /usr/bin + +set -e TERMCAP +set -e MANPATH +set -U fish_greeting +set -Ux STARSHIP_CONFIG ~/.config/starship/starship.toml + +pyenv init - | source +zoxide init fish | source +starship init fish | source + +function starship_transient_prompt_func + set --local -x STARSHIP_CONFIG ~/.config/starship/transient.toml + starship module character +end + +function xcd + set --local result (command xplr $argv) + [ -n "$result" ] && cd "$result" +end + +if status is-interactive + alias ls='eza -w 80 --icons' + alias cd='z' + alias grep='grep --color=auto' + alias nv=nvim + + fish_add_path -p ~/.cargo/bin ~/.local/bin + fish_vi_key_bindings + enable_transience +end -- cgit v1.3