dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 96b672cabd3359fc56734e025de725500d7edd49
parent 213a699fbb0780246a80f0c181eed507b9d98db7
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue, 28 Jun 2022 15:34:06 +0100

cargo PATH, shutdown func to stop dumpshock. drawterm alias

Diffstat:
Mzsh/.zsh/aliases.zsh | 8++++++--
Mzsh/.zsh/environment.zsh | 2+-
Mzsh/.zsh/functions/mm | 0
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh @@ -33,8 +33,7 @@ term="urxvtc -hold -e " \ \ reboot="sudo reboot" \ - systemctl="sudo systemctl" \ - :q="sudo systemctl poweroff" + systemctl="sudo systemctl" # ▓▓▒░ info @@ -162,6 +161,7 @@ gopher="PAGER=less sacc g.nixers.net/1/~pyratebeard/startpage.gph" \ buku="buku --np" \ tin="NNTPSERVER=eu.newsdemon.com ~/src/warez/tin/tin-latest/src/tin -r -A"\ + drawterm="drawterm -h 9p.sdf.org -a 9p.sdf.org -u pyratebeard" \ \ kb="keybase" \ irc="TERM=screen-256color dtach -A /tmp/irc irssi" \ @@ -204,3 +204,7 @@ nam() { pandoc -s -t man "$*" | man -l - } + + :q() { + [[ -v SSH_TTY ]] && echo dumpshock || sudo systemctl poweroff + } diff --git a/zsh/.zsh/environment.zsh b/zsh/.zsh/environment.zsh @@ -4,7 +4,7 @@ #HIST_STAMPS=mm/dd/yyyy # paths -export PATH=$PATH:$HOME/bin:/usr/local/bin:$HOME/.gem/ruby/2.6.0/bin +export PATH=$PATH:$HOME/bin:/usr/local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cargo/bin export GOPATH=$HOME/src/go # preferred editor for local and remote sessions diff --git a/zsh/.zsh/functions/mm b/zsh/.zsh/functions/mm