|
|
@ -115,6 +115,16 @@ php80_fpm(ok)
|
|
|
|
|
|
|
|
|
|
|
|
## Z-Shell
|
|
|
|
## Z-Shell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Where is this alias defined?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I defined an alias `ls` but I forgot where it was.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
~~~console
|
|
|
|
|
|
|
|
$ PS4='+%x:%I>' zsh -i -x -c '' |& grep ls
|
|
|
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Renaming multiple directories
|
|
|
|
|
|
|
|
|
|
|
|
~~~console
|
|
|
|
~~~console
|
|
|
|
$ count=1; zmv -n '*' '$f[1,4]/$((count++))-$f[12,-1]'
|
|
|
|
$ count=1; zmv -n '*' '$f[1,4]/$((count++))-$f[12,-1]'
|
|
|
|
mv -- 2023-08-05-problems-with-apt-keys-on-my-hotspots 2023/51-problems-with-apt-keys-on-my-hotspots
|
|
|
|
mv -- 2023-08-05-problems-with-apt-keys-on-my-hotspots 2023/51-problems-with-apt-keys-on-my-hotspots
|
|
|
|