summaryrefslogtreecommitdiff
path: root/config.fish
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-01-01 12:51:42 -0500
committerottjk <joshott16@gmail.com>2024-01-01 12:51:42 -0500
commit782b6d94437f9efaa9de6a5b1795bd787c0e1753 (patch)
treeca0452a1ad85cc7a63097ca15621494101931d27 /config.fish
parentf229337c3955a794294f47478c4d39e825b2dd9e (diff)
downloaddotfiles-782b6d94437f9efaa9de6a5b1795bd787c0e1753.tar.gz
dotfiles-782b6d94437f9efaa9de6a5b1795bd787c0e1753.zip
big terms
Diffstat (limited to 'config.fish')
-rw-r--r--config.fish31
1 files changed, 31 insertions, 0 deletions
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