Added snippets for Emacs
This commit is contained in:
5
emacs/.emacs.d/snippets/sh-mode/cwd
Normal file
5
emacs/.emacs.d/snippets/sh-mode/cwd
Normal file
@@ -0,0 +1,5 @@
|
||||
#name: cwd
|
||||
# --
|
||||
local _cwd=
|
||||
_cwd="$(cd "\$(dirname "\${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
|
||||
$0
|
||||
Reference in New Issue
Block a user