summaryrefslogtreecommitdiff
path: root/config/essentials
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-29 07:09:24 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-29 07:09:24 +0100
commitd79faa9e1b36e99dcf8925fc3271f32950f00309 (patch)
tree959c4892bba99e23e6fa3893474201b9a2e6e768 /config/essentials
parent0b76d36b1b94d631616f165073b3284b277a74c6 (diff)
checkpoint
Diffstat (limited to 'config/essentials')
-rwxr-xr-xconfig/essentials/zsh/.zprofile7
-rw-r--r--config/essentials/zsh/.zshrc7
2 files changed, 7 insertions, 7 deletions
diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile
deleted file mode 100755
index 9072f28..0000000
--- a/config/essentials/zsh/.zprofile
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then
- eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)"
- exec startx > /dev/null 2>&1
- exit
-fi
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index 68aae3f..3a75873 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -1,5 +1,12 @@
#!/bin/zsh
+if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && [ "$(id -u)" -ne 0 ]; then
+ eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents ssh,gpg)"
+ keychain --dir "$XDG_CONFIG_HOME/keychain" --quiet --agents gpg IDENTITY #FILTERED
+ exec startx > /dev/null 2>&1
+ exit
+fi
+
# zmodload zsh/zprof
autoload -U select-word-style