summary refs log tree commit diff stats
path: root/user/zsh/zshrc
diff options
context:
space:
mode:
authorAlan Pearce2023-04-08 08:51:49 +0200
committerAlan Pearce2023-04-08 08:51:49 +0200
commit01b1da4680c74ab10869918d22cb81013688480d (patch)
treece6644cc47eb2e1fbdcc778c63476b38fb1fc1a7 /user/zsh/zshrc
parent0e1b432394b60befdca4e268f05441e2835e46b5 (diff)
downloadnixfiles-01b1da4680c74ab10869918d22cb81013688480d.tar.lz
nixfiles-01b1da4680c74ab10869918d22cb81013688480d.tar.zst
nixfiles-01b1da4680c74ab10869918d22cb81013688480d.zip
emacs: auto-discover projectile projects
I no longer need the `add_project` function to add these from a shell
Diffstat (limited to 'user/zsh/zshrc')
-rw-r--r--user/zsh/zshrc6
1 files changed, 0 insertions, 6 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index 48cfc1ef..08b67af9 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -147,12 +147,6 @@ bindkey '^x^k' anyframe-widget-kill
 
 unsetopt flow_control       # Let me use ^S and ^Q
 
-add_project () {
-  project=${1:-$PWD}
-  emacsclient -e "(projectile-add-known-project \"${project}\")"
-}
-compdef '_path_files -/' add_project
-
 esetenv () {
   emacsclient -e "(setenv \"$1\" \"$2\")"
 }