diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-31 22:57:28 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-31 22:57:28 +0100 |
commit | 97c8b051acb14114ed2365ee4b0623e7a8ddd8ba (patch) | |
tree | c114f51ffd2e29489451133065f9f63d8a95d1ea /.config | |
parent | Still moving stuff around (diff) | |
download | dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.gz dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.bz2 dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.xz dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.tar.zst dotfiles-bsd-97c8b051acb14114ed2365ee4b0623e7a8ddd8ba.zip |
Functionnal changes
Diffstat (limited to '')
-rw-r--r-- | .config/env | 58 | ||||
-rw-r--r-- | .config/fish/alias.fish | 14 | ||||
-rw-r--r-- | .config/fish/config.fish | 2 | ||||
-rw-r--r-- | .config/x11/xinitrc | 4 |
4 files changed, 66 insertions, 12 deletions
diff --git a/.config/env b/.config/env new file mode 100644 index 0000000..12e6ae7 --- /dev/null +++ b/.config/env @@ -0,0 +1,58 @@ +# PATH +export PATH="$HOME"/.local/bin:"$PATH" + +# Apps +export EDITOR='nvim' +export VISUAL='nvim' +export PAGER='less' +export TERMINAL='alacritty' +export BROWSER='firefox' +export READER='zathura' +export FILE='vifm' + +# UTF-8 +export CHARSET='UTF-8' +export LANG='en_US.UTF-8' +export LC_COLLATE='C' + +# xdg +export XDG_DATA_HOME="$HOME"/.local/share +export XDG_CONFIG_HOME="$HOME"/.config +export XDG_CACHE_HOME="$HOME"/.cache +export XDG_RUNTIME_DIR=/tmp +export XDG_MUSIC_DIR="$HOME"/mu + +# Cleanup +export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android +export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/ +export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/ +export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android +export CARGO_HOME="$XDG_DATA_HOME"/cargo +export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME"/ccache.conf +export CCACHE_DIR="$XDG_CACHE_HOME"/ccache +export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker +export GNUPGHOME="$XDG_DATA_HOME"/gnupg +export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine +export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history +export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc +export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug +export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc +export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc +export STACK_ROOT="$XDG_DATA_HOME"/stack +export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass +export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc +export XSERVERRC="$XDG_CONFIG_HOME"/x11/xserverrc + +# ccache +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' + +# Apps config +export FZF_DEFAULT_COMMAND='ag -g "" --ignore dotfiles-bsd' +export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border' +export LESS="-R" +export LESSHISTFILE='-' +export MANPAGER="less -R -M +Gg" +export MPD_HOST="$HOME"/.local/share/mpd/socket +export RUSTFLAGS="-L /usr/local/lib" diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index a262b50..af216e3 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -1,10 +1,3 @@ -# alias.fish -# _ -# | | ___ ___ -# _ | |/ _ \ / _ \ -# | |_| | (_) | __/ -# \___/ \___/ \___| - alias ls='exa -l' alias c='clear' alias less='less --tabs 4' @@ -28,7 +21,7 @@ alias diff='colordiff' alias tree='tree -C' alias yt='straw-viewer --api=auto' alias gyt='gtk-straw-viewer' -alias dgit='git --git-dir=$HOME/Documents/dotfiles-bsd --work-tree=$HOME' +alias dgit="git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME" alias vim='nvim' alias gst='git status' alias ga='git add' @@ -58,5 +51,6 @@ 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" alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf" -alias svn="svn --config-dir "$XDG_CONFIG_HOME"/subversion" -alias gpg2="gpg2 --homedir "$XDG_DATA_HOME"/gnupg" +alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion" +alias gpg2="gpg2 --homedir $XDG_DATA_HOME/gnupg" +alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config" diff --git a/.config/fish/config.fish b/.config/fish/config.fish index f653708..87d0dae 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -5,6 +5,8 @@ # | |_| | (_) | __/ # \___/ \___/ \___| +source $HOME/.config/env + export LESS_TERMCAP_mb=(printf '\e[1;31m') export LESS_TERMCAP_md=(printf '\e[1;31m') export LESS_TERMCAP_me=(printf '\e[0m') diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index f411a66..c81a51a 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,3 +1,3 @@ -xrdb ~/.config/x11/xresources -source ~/.profile +cd /home/jozan +xrdb /home/jozan/.config/x11/xresources dbus-launch bspwm |