Skip to content

Instantly share code, notes, and snippets.

@hitode909
Created January 21, 2016 05:56
Show Gist options
  • Save hitode909/c40b53c154ddcc6ad0b1 to your computer and use it in GitHub Desktop.
Save hitode909/c40b53c154ddcc6ad0b1 to your computer and use it in GitHub Desktop.
1文字エイリアスを集める
% for char in {a-z}; do; which $char; done;
a not found
b not found
c not found
d not found
e () {
emacsclient -n ${*:-.} 2> /dev/null || open -a /Applications/Emacs.app ${*:-.}
}
f () {
cd $__session_from
if [ $# = 1 ]
then
cd $1
fi
}
g: aliased to magit-status
h () {
git checkout staging/master
}
i not found
j: aliased to jump -a
k not found
l: aliased to ls
m not found
/Users/hitode909/bin/n
o: aliased to open .
p not found
q not found
r: shell built-in command
s () {
name=${1:-${PWD##*/}}
screen -U -x $name || screen -U -r $name || __session_name=$name screen -U -S $name
}
t not found
u () {
cd ./$(git rev-parse --show-cdup)
if [ $# = 1 ]
then
cd $1
fi
}
v not found
/usr/bin/w
x not found
y not found
z not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment