Using fasd cd, zsh-autosuggestions and zsh-autopair helped me a lot with complicated paths/commands. A bunch of aliases also helps me a lot, for example, open the last edited file.
alias lnvim='nvim -c'\'':e#<1'\'
Dealing with clipboard:
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -i -selection clipboard -o'
Some useful functions like:
# Goes to the folder or create it and goes anyway
mkcd () {
mkdir -pv -p "$@" && cd $_
}
Does a lazy git commit:
gsend () {
git commit -am "$1" && git push
}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using fasd cd, zsh-autosuggestions and zsh-autopair helped me a lot with complicated paths/commands. A bunch of aliases also helps me a lot, for example, open the last edited file.
Dealing with clipboard:
Some useful functions like:
Does a lazy git commit: