aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_totp3
-rwxr-xr-xshell_only.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/_totp b/_totp
new file mode 100644
index 0000000..6c38a2a
--- /dev/null
+++ b/_totp
@@ -0,0 +1,3 @@
+#compdef totp
+
+_files -W ~/.2fa
diff --git a/shell_only.sh b/shell_only.sh
index f7653c8..b1dfd17 100755
--- a/shell_only.sh
+++ b/shell_only.sh
@@ -51,6 +51,9 @@ ln -s ${PWD}/zsh_aliases ~/.zsh_aliases
ln -s ${PWD}/tmux.conf ~/.tmux.conf
ln -s ${PWD}/vimrc ~/.vimrc
+mkdir -p ~/.oh-my-zsh/completions/
+ln -s ${PWD}/_totp ~/.oh-my-zsh/completions/_totp
+
mkdir -p ~/.local/bspwm-setup/
ln -s ${PWD}/lockscreen.xkb ~/.local/bspwm-setup/lockscreen.xkb