aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-08-18 12:52:10 +0200
committerlonkaars <loek@pipeframe.xyz>2021-08-18 12:52:10 +0200
commita3c80a3ca46406bd2f4a9c858ba072de93f9967e (patch)
treed5436e384fe9a46b433c9c8b2ff076efcbe511d6
parent3534261821ae036fd7045fc914f3b67857e69938 (diff)
zshrc update (16 alias for hex printing)
-rw-r--r--.zshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 7b1f7a4..b66ae41 100644
--- a/.zshrc
+++ b/.zshrc
@@ -10,6 +10,9 @@ plugins=(
export ZSH="$HOME/.local/share/oh-my-zsh"
source $ZSH/oh-my-zsh.sh
+# esp8266 rtos sdk
+export IDF_PATH="/opt/ESP8266_RTOS_SDK/"
+
# shift-tab fix
bindkey '^[[Z' reverse-menu-complete
@@ -34,8 +37,12 @@ alias dnd="dragon-drag-and-drop -x"
alias scdl="scdl --onlymp3 -l"
alias screenrecord='giph -f 60 -s -b 4 -c 255,255,255 $(date +"$HOME/%Y-%m-%d_%H-%M-%S.mp4")'
alias deemix="deemix -b FLAC -p ~/dl"
-function = () { python2 -c "print ($*)" }
+
+function = () { python3 -c "print($*)" }
aliases[=]="noglob ="
+alias 16="python3 -c 'import sys;print(f\"{int(sys.stdin.read().strip()):x}\")'"
+
+alias :tada:="echo '🎉'"
# one letters
alias r="ranger"