diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 18:56:39 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 18:56:39 +0200 |
| commit | 59cd7f9baf21fa8a085e8dc744af3f187d0fa4fa (patch) | |
| tree | 531dcca43228a6e246d57765c0c8c55f98407fa6 /fish/conf.d | |
| parent | 52649cf66c492db782c4e1bb8a8a142cc459360b (diff) | |
Update
Diffstat (limited to 'fish/conf.d')
| -rw-r--r-- | fish/conf.d/tmux.fish | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fish/conf.d/tmux.fish b/fish/conf.d/tmux.fish index 0ff86f9..0e1073c 100644 --- a/fish/conf.d/tmux.fish +++ b/fish/conf.d/tmux.fish @@ -27,7 +27,7 @@ function tmux::new end end -function tmux::git_project +function tmux::project if test (count $argv) -eq 0 set -l git_root (basename (git rev-parse --show-toplevel 2>/dev/null)) if test -n "$git_root" @@ -71,11 +71,11 @@ function tmux::git_project tmux::attach $session end -function tmux::git_project::reindex +function tmux::project::reindex if test -f $TMUX_FZF_GIT_INDEX rm $TMUX_FZF_GIT_INDEX end - tmux::git_project $argv + tmux::project $argv end function tmux::attach @@ -140,7 +140,7 @@ alias ta 'tmux::attach' alias tx 'tmux::remote' alias tl 'tmux::search' alias tssh 'tmux::cluster_ssh' -alias tp 'tmux::git_project' +alias tp 'tmux::project' alias notes 'cd ~/Notes; tmux::attach notes' alias N 'cd ~/Notes; tmux::attach notes' alias bar 'tmux::new bar' |
