summaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-25 20:47:15 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-25 20:47:15 +0100
commit5c02e6e43a415144afc0b1f877b6e88ca70f9f96 (patch)
tree253ebeed9fb57e7a904a7c984ba8a08683f19972 /.config/fish/config.fish
parentdoas update (diff)
downloaddotfiles-bsd-5c02e6e43a415144afc0b1f877b6e88ca70f9f96.tar.gz
dotfiles-bsd-5c02e6e43a415144afc0b1f877b6e88ca70f9f96.tar.bz2
dotfiles-bsd-5c02e6e43a415144afc0b1f877b6e88ca70f9f96.tar.xz
dotfiles-bsd-5c02e6e43a415144afc0b1f877b6e88ca70f9f96.tar.zst
dotfiles-bsd-5c02e6e43a415144afc0b1f877b6e88ca70f9f96.zip
Added fish configs
Diffstat (limited to '')
-rw-r--r--.config/fish/config.fish39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
new file mode 100644
index 0000000..798aa03
--- /dev/null
+++ b/.config/fish/config.fish
@@ -0,0 +1,39 @@
+set -x PATH $HOME/.local/bin /usr/local/llvm11/bin $PATH
+export PATH
+
+export EDITOR="nvim"
+export VISUAL="nvim"
+export PAGER="less"
+export TERMINAL="alacritty"
+export BROWSER="firefox"
+export READER="zathura"
+export FILE="vifm"
+export MPD_HOST="$HOME/.mpd/socket"
+export LANG="en_US.UTF-8"
+export LESSHISTFILE="-"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_MUSIC_DIR="$HOME/Music"
+export CCACHE_PATH="/usr/bin:/usr/local/bin:/usr/local/llvm11/bin"
+export CCACHE_DIR="/var/cache/ccache-jozan"
+export CCACHE_LOGFILE="/var/log/ccache.log"
+export RUSTFLAGS="-L /usr/local/lib"
+export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
+
+
+source $HOME/.config/fish/alias.fish
+
+fish_vi_key_bindings
+set fish_greeting
+function fish_mode_prompt
+end
+
+function fish_prompt
+ printf "\033[1;31m%s \033[1;34m%s\033[1;31m> \033[0m" (prompt_hostname) (prompt_pwd)
+end
+function fish_right_prompt
+ set -l last_pipestatus $pipestatus
+ set -l last_status $status
+ set -l prompt_status (__fish_print_pipestatus " " "" "|" (set_color $fish_color_status) (set_color --bold $fish_color_status) $last_pipestatus)
+ printf "%s \033[1;31m%s\033[0m" (fish_vcs_prompt) $prompt_status
+end