update openbsd notes page (still a draft)
This commit is contained in:
parent
68a949189b
commit
d31135e62b
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue