enahancements to .zshrc

Signed-off-by: surtur <a_mirre@utb.cz>
This commit is contained in:
surtur 2020-03-01 02:46:50 +01:00
parent ba43a59c86
commit 65eaee7c91
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -41,7 +41,6 @@
SPACESHIP_HOST_COLOR=green SPACESHIP_HOST_COLOR=green
SPACESHIP_GIT_BRANCH_COLOR=red SPACESHIP_GIT_BRANCH_COLOR=red
SPACESHIP_GIT_STATUS_COLOR=yellow SPACESHIP_GIT_STATUS_COLOR=yellow
SPACESHIP_EXEC_TIME_ELAPSED=300
SPACESHIP_BATTERY_SHOW=true SPACESHIP_BATTERY_SHOW=true
SPACESHIP_BATTERY_THRESHOLD=35 SPACESHIP_BATTERY_THRESHOLD=35
SPACESHIP_CHAR_SYMBOL=%% SPACESHIP_CHAR_SYMBOL=%%
@ -94,7 +93,7 @@
# Uncomment the following line if you want to disable marking untracked files # Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories # under VCS as dirty. This makes repository status check for large repositories
# much, much faster. # much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true" DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time # Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output. # stamp shown in the history command output.
@ -130,7 +129,7 @@
# User configuration # User configuration
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"
export PATH="$PATH:$HOME/utils/bin" export PATH="$PATH:$HOME/.local/bin:$HOME/utils/bin"
# You may need to manually set your language environment # You may need to manually set your language environment
export LANG=en_GB.UTF-8 export LANG=en_GB.UTF-8
@ -181,11 +180,11 @@
#alias rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up' #alias rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up'
export utb="$HOME/MEGA/Projects/utb" export utb="$HOME/MEGA/Projects/utb"
export ads="$utb/2semester/ADS/"
export spt="$utb/2semester/SPT/"
export opn="$utb/2semester/OPN/"
export kry="$utb/3semester/KRY/" export kry="$utb/3semester/KRY/"
export osz="$utb/3semester/OSZ/" export osz="$utb/3semester/OSZ/"
export mw="$utb/4semester/MW/"
export pjc="$utb/4semester/PJC/"
export tso="$utb/4semester/TSO/"
alias wget='wget -c' # allows to restore progress after interruption alias wget='wget -c' # allows to restore progress after interruption
if [[ -x "$(command -v vimx)" ]]; then alias vim='vimx'; fi # proper clipboard support if [[ -x "$(command -v vimx)" ]]; then alias vim='vimx'; fi # proper clipboard support
@ -199,8 +198,10 @@
alias rsync-synchronize='rsync -avzu --delete --progress -h' alias rsync-synchronize='rsync -avzu --delete --progress -h'
alias rsync-update='rsync -avzu --progress -h' alias rsync-update='rsync -avzu --progress -h'
alias tmpdir='mktemp -d && cd /tmp/$(ls -t /tmp | grep tmp. | head -1)' alias tmpdir='mktemp -d && cd /tmp/$(ls -t /tmp | grep tmp. | head -1)'
alias wolm='wol d4:3d:7e:53:c2:b1'
alias ta='tmux a -t0'
alias tprconfig='/usr/bin/git --git-dir=$HOME/MEGA/Projects/utb/3semester/TPR/tasks-wip --work-tree=$HOME/MEGA/Projects/utb/3semester/TPR/' alias tprconfig="/usr/bin/git --git-dir=$utb/3semester/TPR/tasks-wip --work-tree=$utb/3semester/TPR/"
export ANDROID_HOME=$HOME/Android/Sdk export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools
@ -217,8 +218,9 @@
alias zshconfig="vimx ~/.zshrc" alias zshconfig="vimx ~/.zshrc"
alias zshist="vimx ~/.zsh_history" alias zshist="vimx ~/.zsh_history"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
export DISABLE_UNTRACKED_FILES_DIRTY="true"
export DOTNET_CLI_TELEMETRY_OPTOUT=1 # why do I always have to take care of this myself... export DOTNET_CLI_TELEMETRY_OPTOUT=1 # why do I always have to take care of this myself...
export MOZ_USE_XINPUT2=1
#bindkey -v # enabled ohmyzsh vi-mode - more customizable than the original #bindkey -v # enabled ohmyzsh vi-mode - more customizable than the original