How many shells deep I am?
Problem: Find how many shells deep I am.
Problem: Find how many shells deep I am.
Bash behaviour I’ve just migrated from bash to zsh. In bash, I had the following line in ~/.inputrc. "eC-?": unix-filename-rubout Hence, Alt+Backspace would delete back to the previous slash, which was useful for editing paths. Separately, bash defaults to making Ctrl+w delete to the previous space, which is useful for deleting whole arguments (presuming they … Read more
My terminal setup is gnome-terminal + tmux + zsh with vi bindings.
I’m getting used to vim bindings (like pressing w to go to word, dw to delete a word, and such) and it’s modes (insert, normal, visual), and, out of curiosity would like to know: is there some kind of implementation of this behaviour of modes and bindings from vim to my terminal?
I’ve been trying to find a command to remove all files in a folder but not a kind of filetype. But I seems to not have any luck. What I’ve tried so far :
I made a bad choice when configuring Zsh the first time around, so now I would like to run the configuration wizard (the thing that runs the first time you log in) again. How do I do this?
I know that you can use this to start a process in the background, without getting the notification when the process is put in the background and when it is done like so:
As far as I understand, the usual way to add a path to the PATH environment variable is by concatenating paths separated by the : character.
I have been working on several projects, and they require different environment variables (e.g., PATH for different versions of clang executables, PYTHONPATH for several external modules). Whenever I work on one project, I have to modify these environment variables myself (e.g., change .zshrc/.bashrc and source it); and I sometimes forget and make mistakes.
I’ve been studying zsh scripting for all of 2 hours at this point and I’ve hit a wall. I want to go through a list of files that may have spaces in them. I’m open to completely different approaches than the following example so long as they’re zsh since zsh is what I’m studying, not the task I’m trying to script.