Is it possible to setup FISH alias based on different OS or available command?
I see Define an alias in fish shell, and I know how to setup alias and/or functions,
Why does the or operator in fish seem to not work
function shapeshift argparse ‘h/help’ — $argv if not set -q argv[1] $argv or if set -q _flag_help echo “Shapeshift lets you change into another root system.” echo “It is a simple tool that mounts, and chroots a partition of your choice.” echo “” echo “Use it in the following way:” set_color green; echo “shapeshift nvme0n1p4”; […]
Why does the or keyword in fish seem to not work
function shapeshift argparse ‘h/help’ — $argv if not set -q argv[1] $argv or if set -q _flag_help echo “Shapeshift lets you change into another root system.” echo “It is a simple tool that mounts, and chroots a partition of your choice.” echo “” echo “Use it in the following way:” set_color green; echo “shapeshift nvme0n1p4”; […]