From 1f0b461f290d36afda57b37625095464b3866fdb Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 28 Jan 2021 23:48:32 +0100 Subject: [PATCH] Add further XDG aliases --- home/.config/sh/environ | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/.config/sh/environ b/home/.config/sh/environ index ab7ac5a..b472da3 100755 --- a/home/.config/sh/environ +++ b/home/.config/sh/environ @@ -3,6 +3,7 @@ # Environmental variables export EDITOR=vim 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 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 LESSHISTFILE="-" 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 KDEHOME="$XDG_CONFIG_HOME/kde" 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 PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf" export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer" +export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages # XDG Alias overrides alias nvidia-settings='nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"' 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} +}