diff options
| author | joott <josh@ottmail.me> | 2025-07-30 15:53:29 -0400 |
|---|---|---|
| committer | joott <josh@ottmail.me> | 2025-07-30 15:53:29 -0400 |
| commit | 26694e09e8f5bf2262737312e7ad217118db20de (patch) | |
| tree | ca55eee2f8c5106c61e747979780d6f393fd24c9 /.config/fish | |
| parent | 89a596a50ec61b8ebd6040b06a7cab994afd1b3a (diff) | |
| download | dotfiles-26694e09e8f5bf2262737312e7ad217118db20de.tar.gz dotfiles-26694e09e8f5bf2262737312e7ad217118db20de.zip | |
switching to yadm
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/config.fish | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..4751ffd --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,32 @@ +fish_add_path -p ~/.juliaup/bin ~/.cargo/bin ~/.local/bin /usr/local/sbin /usr/local/bin /usr/bin + +set -e TERMCAP +set -e MANPATH +set -Ux STARSHIP_CONFIG ~/.config/starship/starship.toml + +source ~/.config/fish/colors.fish + +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 + alias lg=lazygit + + fish_vi_key_bindings + enable_transience +end |