summaryrefslogtreecommitdiff
path: root/.config/zsh/command-tools.zsh
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-06-13 08:37:31 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-06-13 08:37:31 +0530
commit28ea0e3cbe1c0f980a05d6fb13a428bcab2ea1c5 (patch)
treeb44f5301c4f60b1dae51a91e72b614996ee074ce /.config/zsh/command-tools.zsh
parent311a468de08231c3dd2327473b79066a25e67462 (diff)
neovim updatesHEADmaster
Diffstat (limited to '.config/zsh/command-tools.zsh')
-rw-r--r--.config/zsh/command-tools.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/command-tools.zsh b/.config/zsh/command-tools.zsh
index b63b0ac..fe17ed1 100644
--- a/.config/zsh/command-tools.zsh
+++ b/.config/zsh/command-tools.zsh
@@ -1,5 +1,5 @@
whereis_alias() {
- location="$(zsh -xic exit 2>&1 | sed -E "/alias[ '$]*$1=/!d; /\/plugins\//d" |
+ location="$(zsh -xic exit 2>&1 | sed -E "/sh.*alias[ '$]*$1=/!d; /\/plugins\//d" |
fzf --exit-0 --select-1 --ansi --header-first --header='Select alias location' |
sed -n "s|^\+\(/.*:[0-9]*\)>.*$|\1|p")"