This website requires JavaScript.
Explore
Help
Sign in
notwa
/
rc
Watch
1
Star
0
Fork
You've already forked rc
0
mirror of
https://github.com/notwa/rc
synced
2024-11-05 04:39:03 -08:00
Code
Issues
Releases
Wiki
Activity
5eaf74401e
rc
/
sh
/
arith
9 lines
101 B
Text
Raw
Normal View
History
Unescape
Escape
NixOS compatibility * use /usr/bin/env for all hashbangs * enable hashall for bash * workaround syntax error in -shrc for bash
2020-12-29 08:38:07 -08:00
#!/usr/bin/env zsh
overhaul
2021-07-29 00:37:35 -07:00
# YES_ZSH
arith() {
<<<"$(($@))"
}
[ "${SOURCING:-0}" -gt 0 ] || arith "$@"
Reference in a new issue
Copy permalink