This makes the common actions previously encoded as bash aliases independent of the shell (I'm using /bin/sh for the scripts), which will make a potential switch to zsh easier by having less bash-specific stuff around.
4 lines
95 B
Bash
Executable file
4 lines
95 B
Bash
Executable file
#!/bin/sh
|
|
# Tail as much as fits on screen
|
|
exec tail -n $(echo "$(tput lines) - 5" | bc) "$@"
|
|
|