commit dc9aab38904e05ff1ec43a3ed5b9feb8548f77d3 parent cebbfa862c7d4180e99c5c134b27238342f671da Author: gearsix <gearsix@tuta.io> Date: Mon, 26 Dec 2022 18:30:49 +0000 added zshrc (from macos) Diffstat:
A | zshrc | | | 29 | +++++++++++++++++++++++++++++ |
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/zshrc b/zshrc @@ -0,0 +1,29 @@ +# gearsix ~/.zshrc + +# exports +export EDITOR=nvim +export PLAN9=/Users/gearsix/Development/build/plan9port +export PATH=$PATH:/usr/local/bin/:$PLAN9/bin +export PS1="%B%T%b %~ %% " + +# aliases (local) +alias cls="clear" +alias l="ls -lh" +alias ll="ls -lhA" +alias lls="ls -lhAS" +alias llt="ls -lhAt" +alias mkd="mkdir -p" +alias cp="cp -vr" +alias mv="mv -vi" +alias rm="rm -vri" + +# functions +func myip () { + curl https://ipinfo.io/ip + echo "" +} + +func parrot.live () { + curl parrot.live +} +