summaryrefslogtreecommitdiff
path: root/fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish')
-rw-r--r--fish/config.fish23
-rw-r--r--fish/fish_variables38
2 files changed, 61 insertions, 0 deletions
diff --git a/fish/config.fish b/fish/config.fish
new file mode 100644
index 0000000..a8159eb
--- /dev/null
+++ b/fish/config.fish
@@ -0,0 +1,23 @@
+fish_add_path -p /usr/local/sbin /usr/local/bin /usr/bin
+
+set -e TERMCAP
+set -e MANPATH
+
+pyenv init - | source
+zoxide init fish | source
+starship init fish | source
+
+function xcd
+ set --local result (command xplr $argv)
+ [ -n "$result" ] && cd "$result"
+end
+
+if status is-interactive
+ alias ls='eza'
+ alias cd='z'
+ alias grep='grep --color=auto'
+ alias nv=nvim
+
+ fish_add_path -p ~/.cargo/bin ~/.local/bin
+ pfetch
+end
diff --git a/fish/fish_variables b/fish/fish_variables
new file mode 100644
index 0000000..f4539c1
--- /dev/null
+++ b/fish/fish_variables
@@ -0,0 +1,38 @@
+# This file contains fish universal variable definitions.
+# VERSION: 3.0
+SETUVAR --export EDITOR:nvim
+SETUVAR --export PF_INFO:ascii\x20title\x20os\x20uptime\x20pkgs\x20memory
+SETUVAR --export PYENV_ROOT:/home/josh/\x2epyenv
+SETUVAR --export VISUAL:nvim
+SETUVAR --export XDG_SCREENSHOTS_DIR:/home/josh/Pictures/screenshots
+SETUVAR __fish_initialized:3400
+SETUVAR _fisher_upgraded_to_4_4:\x1d
+SETUVAR fish_color_autosuggestion:555\x1ebrblack
+SETUVAR fish_color_cancel:\x2dr
+SETUVAR fish_color_command:blue
+SETUVAR fish_color_comment:red
+SETUVAR fish_color_cwd:green
+SETUVAR fish_color_cwd_root:red
+SETUVAR fish_color_end:green
+SETUVAR fish_color_error:brred
+SETUVAR fish_color_escape:brcyan
+SETUVAR fish_color_history_current:\x2d\x2dbold
+SETUVAR fish_color_host:normal
+SETUVAR fish_color_host_remote:yellow
+SETUVAR fish_color_normal:normal
+SETUVAR fish_color_operator:brcyan
+SETUVAR fish_color_param:cyan
+SETUVAR fish_color_quote:yellow
+SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
+SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
+SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
+SETUVAR fish_color_status:red
+SETUVAR fish_color_user:brgreen
+SETUVAR fish_color_valid_path:\x2d\x2dunderline
+SETUVAR fish_key_bindings:fish_default_key_bindings
+SETUVAR fish_pager_color_completion:normal
+SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
+SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
+SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
+SETUVAR fish_pager_color_selected_background:\x2dr
+SETUVAR fish_user_paths:/home/josh/\x2ecargo/bin\x1e/home/josh/\x2elocal/bin\x1e/home/josh/git\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/usr/bin