| 1 |
# Alloy Nushell aliases |
| 2 |
# |
| 3 |
# Small curated set. No plugin framework; if the list grows past ~30 lines, |
| 4 |
# reconsider whether the alias earned its place. |
| 5 |
|
| 6 |
# ------------------------------------------------------------------- |
| 7 |
# ls variants — nu's `ls` is already structured; these add flags |
| 8 |
# ------------------------------------------------------------------- |
| 9 |
alias ll = ls -la |
| 10 |
alias la = ls -a |
| 11 |
|
| 12 |
# ------------------------------------------------------------------- |
| 13 |
# Directory hops |
| 14 |
# ------------------------------------------------------------------- |
| 15 |
alias .. = cd .. |
| 16 |
alias ... = cd ../.. |
| 17 |
alias .... = cd ../../.. |
| 18 |
|
| 19 |
# ------------------------------------------------------------------- |
| 20 |
# git shortcuts (only the ones used daily; no over-abbreviation) |
| 21 |
# ------------------------------------------------------------------- |
| 22 |
alias gs = git status |
| 23 |
alias gd = git diff |
| 24 |
alias ga = git add |
| 25 |
alias gc = git commit |
| 26 |
alias gp = git push |
| 27 |
alias gl = git log --oneline -20 |
| 28 |
|
| 29 |
# ------------------------------------------------------------------- |
| 30 |
# Editor |
| 31 |
# ------------------------------------------------------------------- |
| 32 |
alias vim = hx |
| 33 |
alias vi = hx |
| 34 |
|
| 35 |
# ------------------------------------------------------------------- |
| 36 |
# System introspection |
| 37 |
# ------------------------------------------------------------------- |
| 38 |
alias du = dua interactive # dua's interactive TUI is the default |
| 39 |
alias top = btm # bottom replaces top |
| 40 |
|
| 41 |
# ------------------------------------------------------------------- |
| 42 |
# Screen recording is not in the image. wl-screenrec is the picked tool |
| 43 |
# but is not packaged for Fedora, and building it pulled a whole Rust |
| 44 |
# toolchain stage into the build for one binary. Deferred until it is |
| 45 |
# packaged; see docs/STACK.md#screen-recorder. The screenrec wrapper |
| 46 |
# that lived here comes back with it. |
| 47 |
# ------------------------------------------------------------------- |
| 48 |
|
| 49 |
# ------------------------------------------------------------------- |
| 50 |
# Alloy itself (once alloy console is built and installed) |
| 51 |
# ------------------------------------------------------------------- |
| 52 |
# alias net = alloy net |
| 53 |
# alias audio = alloy audio |
| 54 |
# — deferred; enable once alloy console v0.5 ships. |
| 55 |
|