Closed BSD-Yassin closed 3 months ago
I was using this cheatsheet to brush back on fish conditionals.
Turns out when you use something like
test $TMUX_PROGRAM == '/usr/bin/tmux'
An error is returned : test: unexpected argument at index 2: '=='
test: unexpected argument at index 2: '=='
test $TMUX_PROGRAM = '/usr/bin/tmux'
Works fine.
The official documentation uses the same operator https://fishshell.com/docs/current/cmds/test.html
I changed the documentation to follow the newer docker compose out of the box and summarized the migration for everyone.
The official documentation : https://docs.docker.com/compose/ https://docs.docker.com/compose/migrate/
I also took the opportunity to remind a few others useful docker compose commands, just in case they didn't exist back in last update in 2020.
This is great, thank you so much for your contribution!
For the Fish cheatsheet :
I was using this cheatsheet to brush back on fish conditionals.
Turns out when you use something like
An error is returned :
test: unexpected argument at index 2: '=='
Works fine.
The official documentation uses the same operator https://fishshell.com/docs/current/cmds/test.html
For the Docker compose cheatsheet :
I changed the documentation to follow the newer docker compose out of the box and summarized the migration for everyone.
The official documentation : https://docs.docker.com/compose/ https://docs.docker.com/compose/migrate/
I also took the opportunity to remind a few others useful docker compose commands, just in case they didn't exist back in last update in 2020.