diff options
author | xyz <gky44px1999@gmail.com> | 2021-10-30 02:04:15 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-10-30 02:04:15 -0700 |
commit | 61fef413b0a32eb5259b49faed001c1f196aa029 (patch) | |
tree | b395529c2496df2232bdfefc0a78054c3588a46e /home/xyz/.bashrc | |
parent | 97f7f13fc9a46fbe0fad3b3607c712225f3945cb (diff) |
refactor
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r-- | home/xyz/.bashrc | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 0d3f7ece..d564917b 100644 --- a/home/xyz/.bashrc +++ b/home/xyz/.bashrc @@ -47,10 +47,10 @@ alias tree='tree -a' # /dev/ttyACM0 can be in config file, or as environmantal variable, see /usr/share/doc/adafruit-ampy/README.md alias ap='sudo ampy -p /dev/ttyACM0' -alias c=cd -alias f=cfg +alias c=cfg alias g=git -alias l='ls -lAh --color=auto --group-directories-first' +alias l='ls -A --group-directories-first' +alias ll='l -lh' alias s='sudo ' # https://askubuntu.com/a/22043 alias se='sudo -E ' alias spd='speedtest --no-upload; librespeed-cli --no-upload' @@ -61,5 +61,14 @@ alias vc='$EDITOR "$XDG_DOCUMENTS_DIR/notes/computer/cli_notes.md"' alias vq='$EDITOR "$XDG_DOCUMENTS_DIR/notes/others/questions_ideas_tips.md"' alias vrc='$EDITOR +e\ \$MYVIMRC' alias wtr='curl v2.wttr.in' +alias zq='zoxide -query -i' -eval "$(zoxide init bash)" +eval "$(zoxide init posix --hook prompt --no-aliases)" + +z () { + __zoxide_z "$@" && l +} + +zi () { + __zoxide_zi "$@" && l +} |