From 0cae2d0fd989cb41e280dfeff812abb3e397d980 Mon Sep 17 00:00:00 2001 From: gwbeip Date: Sun, 14 Jun 2026 21:54:13 +0800 Subject: [PATCH] chore(nushell): remove risky and redundant aliases --- nushell/modules/pj_aliases.nu | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/nushell/modules/pj_aliases.nu b/nushell/modules/pj_aliases.nu index 28da11b..e033543 100644 --- a/nushell/modules/pj_aliases.nu +++ b/nushell/modules/pj_aliases.nu @@ -19,21 +19,6 @@ export alias moon = curl wttr.in/Moon export alias quote = curl https://api.quotable.io/random | from json | get content export alias dadjoke = curl -H "Accept: application/json" https://icanhazdadjoke.com/ | from json | get joke -# --- Git --- -export alias g = git - -# --- Navigation & Shell --- -export alias c = clear -export def reload [] { exec nu } -export def edit [] { ^$env.EDITOR ($env.NU_POLYJUICE_PATH | path join 'nu_polyjuice.nu') } - -# --- File system --- -export alias tree = ls **/* - -# --- Network --- -export alias myip = curl -s ifconfig.me -export def ports [] { ^netstat -ano | lines | where {|row| $row | str contains 'LISTENING'} | str trim } - # --- System --- export def df [] { if (which ^df | is-not-empty) {