All Questions
2 questions
0
votes
1
answer
243
views
Zsh script to recursively unrar into a folder with the same name [duplicate]
Is it possible to use a zsh script to unrar all directories within another directory?
As follows:
dir
|_dir1.rar
|_dir2.rar
|_dir3.rar
I would like the command not to include the cd. I will cd into ...
1
vote
2
answers
702
views
Function to go forward one directory, if possible?
I use below code snippet (by pressing alt-h), to go backward one level of current directory.
up-dir() {
cd ".."
zle reset-prompt
}
zle -N up-dir
bindkey "^[h" up-dir
I want similar ...