mirror of
https://github.com/FAUSheppy/config
synced 2025-12-10 00:28:32 +01:00
Merge branch 'master' of gitlab.cs.fau.de:ik15ydit/config
This commit is contained in:
17
zshrc
17
zshrc
@@ -68,6 +68,13 @@ alias ..='cd ..'
|
||||
## Anti-LD-Preload Chromium Wrapper ##
|
||||
alias chromium="export TMP_PRELD=$LD_PRELOAD && /bin/bash -c 'unset LD_PRELOAD && chromium' && export LD_PRELOAD=$TMP_PRELD"
|
||||
|
||||
## GIT ##
|
||||
alias gstat="git status"
|
||||
alias gpull="git pull"
|
||||
alias gpush="git push"
|
||||
alias gcom="git commit -a"
|
||||
alias gadd="git add"
|
||||
|
||||
## LOCKS ##
|
||||
if [[ $HOST =~ atlantis* ]]; then
|
||||
alias i3lock="i3lock --image=/home/ik15ydit/.config/i3lock/bg.png"
|
||||
@@ -88,9 +95,13 @@ if [[ $HOST =~ atlantis* ]]; then
|
||||
|
||||
alias x='startx'
|
||||
else
|
||||
alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done'
|
||||
alias telegram='/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub'
|
||||
fi
|
||||
alias rehash="source ~/.config/zshrc"
|
||||
function qfind {
|
||||
find . -name "$1"
|
||||
}
|
||||
alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done'
|
||||
alias "ipconf"="ip addr show"
|
||||
|
||||
## General ##
|
||||
@@ -185,7 +196,9 @@ alias l="ls -lh --color=auto"
|
||||
## SSH-KEYS ##
|
||||
gitssh=~/.ssh/gitrsa
|
||||
function key(){
|
||||
eval `ssh-agent`
|
||||
if [[ -z $SSH_AUTH_SOCK ]]; then
|
||||
eval `ssh-agent`
|
||||
fi
|
||||
ssh-add $gitssh
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user