diff options
| author | ache <ache@ache.one> | 2026-03-04 16:00:13 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-03-04 16:00:13 +0100 |
| commit | b218b9cb2fbd20b4eecc3e51d61050e83ea7b223 (patch) | |
| tree | 4e716a0ae505eddd66fc78abcedf025670441ba8 | |
| parent | feat: Use abbr instead of alias (diff) | |
docs: Add note about aliases
| -rw-r--r-- | functions/groot.fish | 1 | ||||
| -rw-r--r-- | functions/less.fish | 2 | ||||
| -rw-r--r-- | functions/lksp.fish | 6 | ||||
| -rw-r--r-- | functions/msf.fish | 1 | ||||
| -rw-r--r-- | functions/msteam.fish | 3 |
5 files changed, 8 insertions, 5 deletions
diff --git a/functions/groot.fish b/functions/groot.fish index 2bb58fb..6a01b39 100644 --- a/functions/groot.fish +++ b/functions/groot.fish @@ -1 +1,2 @@ +# NOTE: Go back to root directory in a git repository alias groot="cd (git rev-parse --show-toplevel)" diff --git a/functions/less.fish b/functions/less.fish index 5b43521..2ff72a8 100644 --- a/functions/less.fish +++ b/functions/less.fish @@ -1,4 +1,4 @@ -# Support for escape sequences. +# NOTE: Support for escape sequences. alias less='less -R' # Each line is assumed to start without color. diff --git a/functions/lksp.fish b/functions/lksp.fish index 50bf30e..d6d3837 100644 --- a/functions/lksp.fish +++ b/functions/lksp.fish @@ -1,8 +1,8 @@ -# Compute link speed of every interfaces +# NOTE: Compute link speed of every interfaces function lksp for link in /sys/class/net/* - if cat $link/speed 2> /dev/null 1>&2 - echo (basename $link)": " (cat $link/speed) "Mb/s" + if cat $link/speed 2>/dev/null 1>&2 + echo (basename $link)": " (cat $link/speed) Mb/s else echo (basename $link)": - Mb/s" end diff --git a/functions/msf.fish b/functions/msf.fish index fc9d99e..97961bb 100644 --- a/functions/msf.fish +++ b/functions/msf.fish @@ -1 +1,2 @@ +# NOTE: Connect to the local MetaSpoil Framework alias msf="msfconsole --quiet -x \"db_connect $USER@msf\"" diff --git a/functions/msteam.fish b/functions/msteam.fish index aef75a2..971b492 100644 --- a/functions/msteam.fish +++ b/functions/msteam.fish @@ -1 +1,2 @@ -alias msteam='steam +open steam://open/minigameslis' +# NOTE: Launch steam in a very small mode +alias msteam='steam +open steam://open/minigameslist' |