~cricket/dotfiles

828d026e337fb861102679b43f2503a7c6783e88 — c piapiac 3 months ago 78b7ec2
fish: stop eating up my fucking home directory
1 files changed, 16 insertions(+), 1 deletions(-)

M .config/fish/config.fish
M .config/fish/config.fish => .config/fish/config.fish +16 -1
@@ 1,11 1,26 @@
# fish colourscheme
theme_pink_panther

# xdg
set -x XDG_CONFIG_HOME "$HOME/.config"
set -x XDG_CACHE_HOME  "$HOME/.cache"
set -x XDG_DATA_HOME   "$HOME/.local/share"
set -x XDG_STATE_HOME  "$HOME/.local/state"

# variables
set fish_greeting
set -x TERM "xterm-256color"
set -x TERM   "xterm-256color"
set -x EDITOR "kak"
set -x VISUAL "kak"

# stop eating up my fucking home directory
set -x CARGO_HOME       "$XDG_DATA_HOME/cargo"
set -x RUSTUP_HOME      "$XDG_DATA_HOME/rustup"
set -x GNUPGHOME        "$XDG_DATA_HOME/gnupg"
set -x STACK_ROOT       "$XDG_DATA_HOME/stack"
set -x GTK2_RC_FILES    "$XDG_CONFIG_HOME/gtk-2.0/gtkrc" 

alias irssi 'irssi --config="$XDG_CONFIG_HOME/irssi/config" --home="$XDG_DATA_HOME/irssi"'

# aliases
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"