mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-27 21:56:08 +10:00
committed by
Mathias Bynens
parent
c8a48ee28c
commit
3dc47ffd55
@@ -15,7 +15,6 @@ alias g="git"
|
||||
alias h="history"
|
||||
alias j="jobs"
|
||||
alias v="vim"
|
||||
alias m="mate ."
|
||||
alias s="subl ."
|
||||
alias o="open"
|
||||
alias oo="open ."
|
||||
|
||||
+10
@@ -251,3 +251,13 @@ function gi() {
|
||||
local IFS=,
|
||||
eval npm install --save-dev grunt-{"$*"}
|
||||
}
|
||||
|
||||
# `m` with no arguments opens the current directory in TextMate, otherwise
|
||||
# opens the given location
|
||||
function m() {
|
||||
if [ $# -eq 0 ]; then
|
||||
mate .
|
||||
else
|
||||
mate "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user