Compare commits
No commits in common. "daebb9d33acb0aef3b38534c3b8da85d7c139d44" and "aad77aa8d673b242fa37f29e5e26876df3c6b07b" have entirely different histories.
daebb9d33a
...
aad77aa8d6
18
.zshrc
18
.zshrc
|
@ -28,6 +28,7 @@ PROMPT_EOL_MARK=''
|
|||
|
||||
##### aliases ######
|
||||
|
||||
alias ccat="pygmentize -O style=native -g "
|
||||
alias chromium-socks='chromium --proxy-server=socks://localhost:3000'
|
||||
alias curlmobile='curl -A "Mozilla/5.0 (Linux; Android 9; AR 4G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Mobile Safari/537.36"'
|
||||
alias curlr='curl -o /dev/null -w "\n\nCode: \t%{http_code}\n\nDNS: \t%{time_namelookup}\nConnect:\t%{time_connect}\nStartTransfer:\t%{time_starttransfer} (PreTransfer:%{time_pretransfer})\nTotal: \t%{time_total}\n\n"'
|
||||
|
@ -39,6 +40,7 @@ alias yayU='yay -Suy --noconfirm'
|
|||
alias mknamedvenv='mkvirtualenv $(basename $PWD) -r requirements.txt'
|
||||
alias dkillall='docker rm -f $(docker ps -qa)'
|
||||
alias k=kubectl
|
||||
alias kconfig='echo "$(kubectl config current-context) ($(kubectl config view --minify --output "jsonpath={..namespace}"))"'
|
||||
alias icat="kitty +kitten icat --align=left"
|
||||
alias idiff="kitty +kitten diff"
|
||||
alias ls="ls --group-directories-first --color=auto --hyperlink=auto"
|
||||
|
@ -71,22 +73,6 @@ kexec () {
|
|||
[ -n "$cid" ] && kubectl exec -ti "$cid" -- "${cmd[@]}"
|
||||
}
|
||||
|
||||
# "dirty" squash before merge
|
||||
git_squash () {
|
||||
if [ -z $2 ]; then
|
||||
echo "Usage: $0 <base branch> \"commit message\""
|
||||
return 1
|
||||
fi
|
||||
|
||||
local bbranch=$1
|
||||
local message=$2
|
||||
local cbranch=$(git branch --show-current)
|
||||
|
||||
git reset $(git merge-base $bbranch $cbranch)
|
||||
git add -A
|
||||
git commit -m "$message"
|
||||
}
|
||||
|
||||
##### tilix #####
|
||||
|
||||
if [ $TILIX_ID ] || [ $VTE_VERSION ] ; then
|
||||
|
|
Loading…
Reference in New Issue