aboutsummaryrefslogtreecommitdiffstats
path: root/.config/fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fish')
-rw-r--r--.config/fish/conf.d/env.fish20
-rw-r--r--.config/fish/conf.d/fzf.fish3
-rw-r--r--.config/fish/conf.d/git-prompt.fish3
-rw-r--r--.config/fish/conf.d/go.fish5
-rw-r--r--.config/fish/conf.d/macos.fish17
-rw-r--r--.config/fish/conf.d/pyenv.fish8
-rw-r--r--.config/fish/config.fish34
-rw-r--r--.config/fish/fish_variables4
8 files changed, 0 insertions, 94 deletions
diff --git a/.config/fish/conf.d/env.fish b/.config/fish/conf.d/env.fish
deleted file mode 100644
index 4aacf61..0000000
--- a/.config/fish/conf.d/env.fish
+++ /dev/null
@@ -1,20 +0,0 @@
-set -gx TERM xterm-256color
-
-set -gx EDITOR nvim
-set -gx PAGER less
-set -gx MANPAGER less
-set -gx MANWIDTH 80
-
-set -gx GPG_TTY (tty)
-
-set -gx XDG_CONFIG_HOME $HOME/.config
-set -gx XDG_DATA_HOME $HOME/.local/share
-set -gx XDG_CACHE_HOME $HOME/.cache
-set -gx XDG_STATE_HOME $HOME/.local/state
-
-set -gx SRC_DIR $HOME/src
-set -gx BIN_DIR $HOME/bin
-
-fish_add_path \
- $BIN_DIR \
- $HOME/.local/bin
diff --git a/.config/fish/conf.d/fzf.fish b/.config/fish/conf.d/fzf.fish
deleted file mode 100644
index d06005e..0000000
--- a/.config/fish/conf.d/fzf.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-if command -q fzf
- fzf --fish | source
-end
diff --git a/.config/fish/conf.d/git-prompt.fish b/.config/fish/conf.d/git-prompt.fish
deleted file mode 100644
index 91f1f97..0000000
--- a/.config/fish/conf.d/git-prompt.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-set -g __fish_git_prompt_showdirtystate 1
-set -g __fish_git_prompt_showupstream auto
-set -g __fish_git_prompt_showcolorhints 1
diff --git a/.config/fish/conf.d/go.fish b/.config/fish/conf.d/go.fish
deleted file mode 100644
index 63924f8..0000000
--- a/.config/fish/conf.d/go.fish
+++ /dev/null
@@ -1,5 +0,0 @@
-set -gx GOPATH $SRC_DIR/go
-set -gx GOBIN $GOPATH/bin
-set -gx GOPROXY direct
-
-fish_add_path $GOBIN
diff --git a/.config/fish/conf.d/macos.fish b/.config/fish/conf.d/macos.fish
deleted file mode 100644
index 0df139e..0000000
--- a/.config/fish/conf.d/macos.fish
+++ /dev/null
@@ -1,17 +0,0 @@
-if test (uname) = Darwin
- fish_add_path \
- /opt/homebrew/bin/ \
- /opt/homebrew/opt/curl/bin \
- $HOME/.poetry/bin \
- $HOME/.local/bin \
- $HOME/Library/pnpm
-
- if command -q brew
- brew shellenv | source
- end
-
- set -gx LDFLAGS "-L/opt/homebrew/lib"
- set -gx CPPFLAGS "-I/opt/homebrew/include"
- set -gx LIBRARY_PATH "$LIBRARY_PATH:"(brew --prefix)"/lib"
-end
-
diff --git a/.config/fish/conf.d/pyenv.fish b/.config/fish/conf.d/pyenv.fish
deleted file mode 100644
index 2c45cb7..0000000
--- a/.config/fish/conf.d/pyenv.fish
+++ /dev/null
@@ -1,8 +0,0 @@
-if test -d ~/.pyenv
- set -gx PYENV_ROOT ~/.pyenv
- fish_add_path $PYENV_ROOT/bin
-
- if command -q pyenv
- pyenv init - | source
- end
-end
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
deleted file mode 100644
index 82fdbde..0000000
--- a/.config/fish/config.fish
+++ /dev/null
@@ -1,34 +0,0 @@
-# Disable greeting
-set -g fish_greeting
-
-abbr -a gs git status
-abbr -a gc git commit
-abbr -a ga git add
-abbr -a gd git diff
-abbr -a gds git diff --staged
-abbr -a gp git push
-abbr -a gpo git push origin
-abbr -a gpl git pull
-abbr -a gplrb git pull --rebase
-abbr -a gl git log
-abbr -a gv "git log --graph --decorate --oneline"
-abbr -a gch git checkout
-abbr -a gcb "git checkout -b"
-
-abbr -a l "ls -al"
-
-function auto_venv --on-variable PWD
- if test -n "$VIRTUAL_ENV"
- set parentdir (dirname "$VIRTUAL_ENV")
- if not string match -q "$parentdir/*" "$PWD"
- if functions -q deactivate
- deactivate
- end
- end
- end
- if test -z "$VIRTUAL_ENV"
- if test -f "$PWD/.venv/bin/activate.fish"
- source "$PWD/.venv/bin/activate.fish"
- end
- end
-end
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables
deleted file mode 100644
index 59f8c3b..0000000
--- a/.config/fish/fish_variables
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file contains fish universal variable definitions.
-# VERSION: 3.0
-SETUVAR __fish_initialized:4300
-SETUVAR fish_user_paths:/opt/homebrew/bin\x1e/opt/homebrew/opt/openjdk\x4024/bin\x1e/opt/homebrew/opt/curl/bin\x1e/Users/eugene/Library/pnpm\x1e/Users/eugene/bin\x1e/Users/eugene/\x2elocal/bin