aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 2704598..a973a69 100644
--- a/bashrc
+++ b/bashrc
@@ -103,6 +103,12 @@ source /usr/share/fzf/completion.bash
export GPG_TTY="$(tty)"
gpgconf --launch gpg-agent
+# find file tagged using filetags
+_find_tagged ()
+{
+ find ~/Documents -name "*--*$1*"
+}
+
# ssh - from https://wiki.archlinux.org/title/SSH_keys#SSH_agents
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env"