Add tmux alias to change default config location

This commit is contained in:
Thomas Dehaeze 2019-12-16 21:37:12 +01:00
parent 05d51471b9
commit b92b124661

View File

@ -117,6 +117,7 @@ bind '"\e[B": history-search-forward'
alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias mutt="neomutt"
alias tmux='tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'
#+END_SRC
*** One letter aliases
@ -369,18 +370,18 @@ Force prompt to write history after every command. http://superuser.com/question
:END:
** QT And GTK Themes
#+BEGIN_SRC conf
#+begin_src bash
export QT_QPA_PLATFORMTHEME="qt5ct"
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
#+END_SRC
** Gui program to ask for sudo password
#+BEGIN_SRC conf
#+begin_src bash
export SUDO_ASKPASS=~/bin/askpass-rofi
#+END_SRC
** Default
#+BEGIN_SRC conf
#+begin_src bash
export EDITOR="nvim"
export TERMINAL="termite"
export BROWSER="qutebrowser"
@ -389,33 +390,38 @@ Force prompt to write history after every command. http://superuser.com/question
#+END_SRC
** Exports
#+BEGIN_SRC conf
#+begin_src bash
export TERM=xterm-256color
#+END_SRC
*** XDG Default
#+begin_src bash
export XDG_CONFIG_HOME="$HOME/.config"
#+end_src
*** dpi config for Alacritty
#+begin_src conf
#+begin_src bash
export WINIT_HIDPI_FACTOR=1.
#+end_src
*** Better yaourt colors
#+BEGIN_SRC conf
#+begin_src bash
export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"
#+END_SRC
*** Use Ripgrep for FZF
#+BEGIN_SRC conf
#+begin_src bash
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
export FZF_DEFAULT_OPTS='--layout=reverse --height=20'
#+END_SRC
*** Goland
#+BEGIN_SRC conf
#+begin_src bash
export GOPATH=$HOME/go
#+END_SRC
** Path
#+BEGIN_SRC conf
#+begin_src bash
PATH=$HOME/appimages:$PATH
PATH=$HOME/.gem/ruby/2.5.0/bin:$PATH
PATH=$GOPATH:$GOPATH/bin:$PATH