From c58abab9e5f14fdabb1ea8b314c370fb515b7b69 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 26 Oct 2022 12:05:56 -0600 Subject: havent updated these in a while --- bash/.bash/01-aliases.bash | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'bash/.bash/01-aliases.bash') diff --git a/bash/.bash/01-aliases.bash b/bash/.bash/01-aliases.bash index 68ace42..87ae24f 100644 --- a/bash/.bash/01-aliases.bash +++ b/bash/.bash/01-aliases.bash @@ -6,6 +6,12 @@ shopt -s expand_aliases +alias sudo="doas" + +# typos +alias l='ls' +alias sl='ls' + # grep colors alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' @@ -26,14 +32,15 @@ alias ....='cd ../../..' alias back='cd -' # binary renames -alias java='/usr/java/jdk-17.0.1/bin/java' -alias java8='/usr/java/jre1.8.0_291/bin/java' -alias java12='/usr/java/jdk-12.0.2/bin/java' +alias java='/usr/local/java/jdk-18.0.1.1/bin/java' +alias java11='/usr/bin/java' alias python='python3' -#alias vim='nvim' +alias g++='g++ --std=c++20' +alias j='autojump' +alias vim='vim -p' # quick important file edits -alias todo='vim ~/TODO.md' +alias todo='vim ~/.todo/TODO.org' # go to directory with files from iPhone alias iPhone='cd /home/bryson/Downloads/from-iPhone' @@ -41,15 +48,26 @@ alias iPhone='cd /home/bryson/Downloads/from-iPhone' # common combinations alias gs='gs -dNOSAFER' alias django='python manage.py' -alias smci='sudo make clean install' -alias smi='sudo make install' -alias mount='sudo mount' -alias umount='sudo umount' +alias smci='doas make clean install' +alias smi='doas make install' +#alias mount='sudo mount' +#alias umount='sudo umount' # bash navigation alias add-alias='vim ~/.bash/01-aliases.bash; . ~/.bash_profile' +# common portage files +alias package.use='doas vim /etc/portage/package.use' +alias make.conf='doas vim /etc/portage/make.conf' +alias package.license='doas vim /etc/portage/package.license' + # other garbage -alias wifi='nmcli d wifi' +alias fixwifi='sudo rc-service wpa_supplicant restart' +#alias spt="spotifyd && spt" +alias macos="cd /home/bryson/git/macOS-Simple-KVM && ./basic.sh" +alias server="python3 /home/bryson/git/webserver/server.py" +alias ssh-pixel="ssh -p 8022 uO_14O@${1}" +alias emerge-update="sudo emerge --ask --verbose --update --deep --changed-use @world" +#alias vim="nvim" #alias connect='nmcli d wifi connect' #alias listwifi='nmcli d wifi list' -- cgit v1.2.3