From 92ad8e97057bcdabaca1095d1657d7017b020de1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 31 Oct 2020 15:13:37 +0100 Subject: Cleaning my home --- .config/fish/alias.fish | 2 ++ .config/fish/config.fish | 37 +++++++------------------------------ 2 files changed, 9 insertions(+), 30 deletions(-) (limited to '.config/fish') diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index db740ab..ccdfd27 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -48,3 +48,5 @@ alias tsm='transmission-remote' alias tsd='transmission-daemon' alias df='df -h' alias rsox='sox -t oss default' +alias calcurse="calcurse -C $XDG_CONFIG_HOME/calcurse -D $XDG_DATA_HOME/calcurse" +alias abook="abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook" diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 705d9c9..ef37ebf 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,33 +1,10 @@ -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' -set -x LESS "-R"; export LESS -set -x MANPAGER "less -M +Gg" -# export LESS_TERMCAP_mb="\033[1;32m" -# export LESS_TERMCAP_md="\033[1;32m" -# export LESS_TERMCAP_me="\033[0m" -# export LESS_TERMCAP_se="\033[0m" -# export LESS_TERMCAP_so="\033[01;33m" -# export LESS_TERMCAP_ue="\033[0m" -# export LESS_TERMCAP_us="\033[1;4;31m" - +export LESS_TERMCAP_mb=(printf '\e[1;31m') +export LESS_TERMCAP_md=(printf '\e[1;31m') +export LESS_TERMCAP_me=(printf '\e[0m') +export LESS_TERMCAP_se=(printf '\e[0m') +export LESS_TERMCAP_so=(printf '\e[1;33;40m') +export LESS_TERMCAP_ue=(printf '\e[0m') +export LESS_TERMCAP_us=(printf '\e[0;4;35m') source $HOME/.config/fish/alias.fish -- cgit v1.2.3