This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Syntax highlighting for fish shell scripts. | |
| ## Original author: Anthony Scopatz (https://github.com/scopatz) | |
| ## License: GPL version 3 or newer | |
| syntax "Fish" "\.fish$" | |
| header "^#!.*/(env +)?fish( |$)" | |
| icolor brightgreen "^[0-9A-Z_]+\(\)" | |
| color green "\<(alias|begin|break|case|continue|contains|else|end|for|function|if|math|return|set|switch|test|while)\>" | |
| color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Original author: Arkadiusz Halicki (https://github.com/halicki) | |
| ## Adjusted with help from: Azlan Mukhtar (https://github.com/azlan) | |
| function mc | |
| set SHELL_PID %self | |
| if not test -d "/tmp/mc-$USER" | |
| mkdir -p "/tmp/mc-$USER" | |
| end |