summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/bin/keyboard2
-rwxr-xr-xgit/.git_template/hooks/ctags3
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/bin/keyboard b/bin/bin/keyboard
index e0cf952..11b13d1 100755
--- a/bin/bin/keyboard
+++ b/bin/bin/keyboard
@@ -22,7 +22,7 @@ xcape -e 'Mode_switch=Multi_key'
# Make Caps_Lock (Control_L, Escape)
xmodmap -e "clear Lock"
-xmodmap -e "keysym Caps_Lock = Control_L Caps_Lock"
+xmodmap -e "keysym Caps_Lock = Control_L Control_L"
xmodmap -e "add Control = Control_L"
xcape -e 'Control_L=Escape'
diff --git a/git/.git_template/hooks/ctags b/git/.git_template/hooks/ctags
index a9a2150..6fc53b6 100755
--- a/git/.git_template/hooks/ctags
+++ b/git/.git_template/hooks/ctags
@@ -1,8 +1,7 @@
#!/bin/sh
set -e
PATH="/usr/local/bin:$PATH"
-dir="`git rev-parse --git-dir`"
+dir="$(git rev-parse --git-dir)"
trap 'rm -f "$dir/$$.tags"' EXIT
git ls-files | ctags --tag-relative -L - -f"$dir/$$.tags" --languages=-javascript,sql
mv "$dir/$$.tags" "$dir/tags"
-