Last active
March 6, 2025 18:25
-
-
Save mgurov/4cb1e084c4500f2e49d62f2067080bbd to your computer and use it in GitHub Desktop.
.zshrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='%10~ %# ' | |
alias gitline='git log -n 1 --format=%s | xargs echo refs/heads/mykola | tr " :." _ | xargs git check-ref-format --normalize | xargs -I {} git push -f origin -o merge_request.create HEAD:{} || echo something went wrong' | |
alias drm='docker rm -f $(docker ps -aq)' | |
alias dcup='docker-compose up' | |
bindkey "^[^[[C" forward-word | |
bindkey "^[^[[D" backward-word | |
bindkey "^[[H" beginning-of-line | |
bindkey "^[[F" end-of-line | |
ffox() { | |
thiscmd=$history[$((HISTCMD))] | |
echo -ne "\033]0;$thiscmd\007" | |
/Applications/Firefox.app/Contents/MacOS/firefox -P $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment