Skip to main content

All Questions

Tagged with
0 votes
1 answer
187 views

Bash/Zsh: Catching all commands that start with a `/`

Is there a way to get this example catchall function to be called whenever any command starts with the / character in an interactive shell (instead of searching in $PATH and executing something else, ...
Aaron Esau's user avatar
1 vote
1 answer
174 views

popd for cdr-based directory management in zsh

I recently started using cdr in zsh for remembering recent directories. I used to use pushd and the like. One thing I miss is popd, which basically means "I'm done using this directory, put me ...
Ken Williams's user avatar
4 votes
1 answer
553 views

Interactive ZSH's command prompt to execute a ZLE command

Is there any way to interactively run a ZLE command on the current line? I am looking for a similar way to TMUX's command-prompt, which default keybinding is prefix : were you can run a TMUX command ...
Nicolas LIENART's user avatar
2 votes
3 answers
663 views

how to start an interactive shell with special setup

I want to start an interactive zsh (on cygwin) with project specific set-up: source /etc/profile source ~/.profile source $PROJECT_HOME/Setup.zsh become interactive I got as far a step 3 but then ...
Martin's user avatar
  • 343