adding dotfiles
This commit is contained in:
15
roles/dotfiles/files/bin/em
Executable file
15
roles/dotfiles/files/bin/em
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z "$DISPLAY" ]
|
||||
then
|
||||
NW=""
|
||||
else
|
||||
NW="-n"
|
||||
fi
|
||||
|
||||
if [ -z "$@" ]
|
||||
then
|
||||
cd $HOME
|
||||
fi
|
||||
|
||||
emacsclient $NW -c -a '' "$@"
|
||||
Reference in New Issue
Block a user