mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Add further XDG aliases
This commit is contained in:
parent
eba43df212
commit
1f0b461f29
|
@ -3,6 +3,7 @@
|
||||||
# Environmental variables
|
# Environmental variables
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export PIPENV_VENV_IN_PROJECT=1 # Force pipenv to create new environments within projects ./.venv
|
export PIPENV_VENV_IN_PROJECT=1 # Force pipenv to create new environments within projects ./.venv
|
||||||
|
export GPG_TTY=${tty}
|
||||||
export LESS_TERMCAP_md="${yellow}" # Highlight section titles in manual pages
|
export LESS_TERMCAP_md="${yellow}" # Highlight section titles in manual pages
|
||||||
export BASH_SILENCE_DEPRECATION_WARNING=1 # Hide the “default interactive shell is now zsh” warning on macOS.
|
export BASH_SILENCE_DEPRECATION_WARNING=1 # Hide the “default interactive shell is now zsh” warning on macOS.
|
||||||
|
|
||||||
|
@ -18,6 +19,7 @@ export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
|
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
|
||||||
export LESSHISTFILE="-"
|
export LESSHISTFILE="-"
|
||||||
export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc"
|
export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc"
|
||||||
|
export GTK_RC_FILES="$XDG_CONFIG_HOME/gtk-1.0/gtkrc"
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
||||||
export KDEHOME="$XDG_CONFIG_HOME/kde"
|
export KDEHOME="$XDG_CONFIG_HOME/kde"
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
|
@ -39,7 +41,14 @@ export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"
|
||||||
export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"
|
export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"
|
||||||
export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"
|
export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"
|
||||||
export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
|
export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer"
|
||||||
|
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
|
||||||
|
|
||||||
# XDG Alias overrides
|
# XDG Alias overrides
|
||||||
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"'
|
alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"'
|
||||||
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||||
|
alias svn='svn --config-dir "$XDG_CONFIG_HOME"/subversion'
|
||||||
|
|
||||||
|
# XDG Function overrides
|
||||||
|
function ngrok(){
|
||||||
|
command ngrok $1 -config=$XDG_CONFIG_HOME/ngrok2/ngrok.yml ${@:2}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue