updated zshrc
* added alias for bare git repo tracking tpr projects * added parameters to spaceship prompt to show battery at all times and only show exec time above 300sec * dircolors y'all * added athe ability to use some of former aliases somewhat more flexibly - as shell vars
This commit is contained in:
parent
c236b33c09
commit
967d97ffbd
18
zsh/zshrc
18
zsh/zshrc
@ -21,6 +21,9 @@
|
|||||||
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_THRESHOLD=100
|
||||||
SPACESHIP_CHAR_SYMBOL=%%
|
SPACESHIP_CHAR_SYMBOL=%%
|
||||||
SPACESHIP_CHAR_COLOR_SUCCESS=white
|
SPACESHIP_CHAR_COLOR_SUCCESS=white
|
||||||
SPACESHIP_CHAR_SUFFIX=" "
|
SPACESHIP_CHAR_SUFFIX=" "
|
||||||
@ -149,6 +152,9 @@
|
|||||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||||
# For a full list of active aliases, run `alias`.
|
# For a full list of active aliases, run `alias`.
|
||||||
|
|
||||||
|
eval $(TERM=xterm dircolors)
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
|
||||||
alias grubup='sudo grub2-mkconfig -o /boot/grub/grub.cfg'
|
alias grubup='sudo grub2-mkconfig -o /boot/grub/grub.cfg'
|
||||||
alias am='sudo -i'
|
alias am='sudo -i'
|
||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
@ -164,11 +170,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"
|
||||||
alias ads='$utb/2semester/ADS/'
|
export ads="$utb/2semester/ADS/"
|
||||||
alias spt='$utb/2semester/SPT/'
|
export spt="$utb/2semester/SPT/"
|
||||||
alias opn='$utb/2semester/OPN/'
|
export opn="$utb/2semester/OPN/"
|
||||||
alias kry='$utb/3semester/KRY/'
|
export kry="$utb/3semester/KRY/"
|
||||||
alias osz='$utb/3semester/OSZ/'
|
export osz="$utb/3semester/OSZ/"
|
||||||
|
|
||||||
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
|
||||||
@ -182,6 +188,8 @@
|
|||||||
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 tprconfig='/usr/bin/git --git-dir=$HOME/MEGA/Projects/utb/3semester/TPR/tasks-wip --work-tree=$HOME/MEGA/Projects/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
|
||||||
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
export PATH=$PATH:$ANDROID_HOME/platform-tools
|
||||||
|
Loading…
Reference in New Issue
Block a user