diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-07-18 19:20:32 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-07-18 19:20:32 +0200 |
| commit | d7bbae4d928c0e1eb8ae0702c5504f13eb42638b (patch) | |
| tree | 223e93e73894041db80cee65263aee13e1e34958 | |
| parent | 79faaddd85f9fc127cd2c0039eb4088135bf9187 (diff) | |
make s take a path
| -rw-r--r-- | .config/shell/aliasrc | 5 | ||||
| -rwxr-xr-x | .local/bin/s | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index a423837..85755da 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -33,10 +33,9 @@ alias \ alias \ ka="killall" \ g="git" \ - s="{ git status --short ; git log --oneline @{push}.. ; }" \ - ga="git add " \ - gc="git commit " \ d="docker" \ + ga="git add " \ + gc="git commit " \ trem="transmission-remote" \ YT="youtube-viewer" \ sdn="shutdown -h now" \ diff --git a/.local/bin/s b/.local/bin/s new file mode 100755 index 0000000..8182d79 --- /dev/null +++ b/.local/bin/s @@ -0,0 +1,3 @@ +#!/bin/sh +git status --short -- "$@" +git log --oneline @{push}.. -- "$@" |
