4 ms·
alias please="sudo" alias amend="git commit --amend --no-edit" alias vim="nvim"
by pokler 3y ago
alias please="sudo"
alias amend="git commit --amend --no-edit"
alias vim="nvim"
- frfl 3y agoFor git aliases you should definitely checkout alises[1] you can define in your global git config, ~/.gitconfig, and the fact git will let you define custom subcommand if you create a `git-foo` executable in your PATH, for example, create a executable shell file called, `git-foo` somewhere in your PATH and you can run it like `git foo`. [1]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
- douglee650 3y agovim="nvim" is wild