diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-01-21 11:26:01 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-01-21 11:26:01 +0100 |
| commit | 7c1058edb5da4eb145e57e66d78328beb9697085 (patch) | |
| tree | 6995d3cb88220aec3b13e8a44fbcb5db2b246df9 /.config/shell/aliasrc | |
| parent | 9fd1f06f2a10d3d0e120dd5a45ad8cc3dceb6d84 (diff) | |
| download | dotfiles-7c1058edb5da4eb145e57e66d78328beb9697085.tar.gz dotfiles-7c1058edb5da4eb145e57e66d78328beb9697085.tar.bz2 dotfiles-7c1058edb5da4eb145e57e66d78328beb9697085.zip | |
lotsa changes too lazy to list then
Diffstat (limited to '.config/shell/aliasrc')
| -rw-r--r-- | .config/shell/aliasrc | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index abcb471..2168058 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -1,10 +1,9 @@ #!/bin/sh +# Filip's aliasrc # Use $XINITRC variable if file exists. [ -f "$XINITRC" ] && alias startx="startx \$XINITRC" -[ -f "$MBSYNCRC" ] && alias mbsync="mbsync -c \$MBSYNCRC" - # sudo not required for some system commands sudo_cmds="mount umount sv apt apt-get aptitude dpkg su shutdown poweroff reboot cryptsetup" for command in $sudo_cmds; do @@ -23,6 +22,8 @@ alias \ rsync="rsync -vrPlu" \ pstree="pstree -np" \ less="less -XER" \ + ls="lsn" \ + vim="nvim" \ # Colorize commands when possible. alias \ @@ -33,15 +34,14 @@ alias \ fgrep="fgrep --color=auto" \ grep="grep --color=auto" \ ip="ip -color=auto" \ - ls="lsn" \ vdir="vdir --color=auto" \ # Making stuff easy to customize and source automatically alias \ - vrc='vim "$HOME/.config/vim/.vimrc"' \ - zal='vim "$ZDOTDIR/aliasrc" && source "$ZDOTDIR/aliasrc"' \ - zen='vim "$ZDOTDIR/envvarrc" && source "$ZDOTDIR/envvarrc"' \ - zrc='vim "$ZDOTDIR/.zshrc" && source "$ZDOTDIR/.zshrc"' \ + vrc='$EDITOR "$HOME/.config/nvim/init.lua"' \ + zal='$EDITOR "$ZDOTDIR/aliasrc" && source "$ZDOTDIR/aliasrc"' \ + zen='$EDITOR "$ZDOTDIR/envvarrc" && source "$ZDOTDIR/envvarrc"' \ + zrc='$EDITOR "$ZDOTDIR/.zshrc" && source "$ZDOTDIR/.zshrc"' \ # Aliases for connecting to server alias \ @@ -51,9 +51,7 @@ alias \ # Making stuff shorter alias \ ..="cd .." \ - b="buku --suggest" \ bat="batcat" \ - bd="buku-dmenu" \ copy="xsel -ib" \ fd="fdfind" \ ipy="ipython3" \ @@ -68,5 +66,6 @@ alias \ # Git aliases alias \ dotfiles="/usr/bin/git --git-dir=\$HOME/.dotfiles --work-tree=\$HOME" \ - -# Limbo + ga="git add" \ + gc="git commit" \ + gp="git push" \ |
