This file contains 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
# SlowQuitApps Managing cmd tool | |
slowquit() | |
{ | |
if [ "$1" = 'help' ]; then | |
cat <<EOF | |
slowquit | |
is a command line tool to manage https://github.com/dteoh/SlowQuitApps, | |
which can delay to quit when pressing the cmd+Q. | |
Usage: |
This file contains 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
# list files or dirs traced or ignored by git | |
# gitls [<path> [<path> ...]] [--ignore] [<other-args-of-ls>] | |
# --ignore : ls files ignored by git, and dirs contain such files | |
# without --ignore : ls files traced by git, and dirs contain such files | |
# without <path> : ls files or dirs under current path | |
# auto colored | |
gitls() | |
{ | |
local git_args='' |