aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-11-14 17:23:48 +0000
committerMatthew Lemon <y@yulqen.org>2023-11-14 17:23:57 +0000
commitb05a2960f6b333efde56f7ae0e959a6a32919a0b (patch)
tree1cf16a024a5ac216684bd5e7d1aec43c67f2a52e /bashrc
parent99c313d39de1be06367164b7ceb2136adc2cceec (diff)
Updates config for filetags
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"