mirror of
https://github.com/1xtier/.dotfiles.git
synced 2026-03-17 02:47:56 +00:00
23 lines
332 B
Plaintext
23 lines
332 B
Plaintext
|
|
#!/bin/bash
|
||
|
|
CAT=mdcat
|
||
|
|
dirman="$HOME/.dotfiles/alisa/"
|
||
|
|
sshman() {
|
||
|
|
$CAT $dirman/utils/ssh.md
|
||
|
|
}
|
||
|
|
tarman() {
|
||
|
|
$CAT $dirman/utils/tar.md
|
||
|
|
}
|
||
|
|
grepman() {
|
||
|
|
$CAT $dirman/utils/grep.md
|
||
|
|
}
|
||
|
|
while [ -n "$1" ]
|
||
|
|
do
|
||
|
|
case "$1" in
|
||
|
|
ssh )sshman;;
|
||
|
|
tar )tarman;;
|
||
|
|
grep )grepman;;
|
||
|
|
-?)help;;
|
||
|
|
esac
|
||
|
|
shift
|
||
|
|
done
|