commit 7bf941de2c8f2ee2d301eac60a213fdca52e7078 parent 84b6a2d64c80171cff1bfe8801ebc58e5351eb6d Author: Bharatvaj <bharatvaj@yahoo.com> Date: Thu, 2 Dec 2021 01:53:58 +0530 cd coditioning and quick ip commands Diffstat:
M | .config/sh/aliases | | | 16 | ++++++++++++---- |
M | .profile | | | 2 | ++ |
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.config/sh/aliases b/.config/sh/aliases @@ -1,7 +1,15 @@ -mich startx && alias startx="startx \"$XDG_CONFIG_HOME/X11/xinitrc\" vt1" -mich wget && alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\"" +mich startx && alias startx='startx "$XDG_CONFIG_HOME/X11/xinitrc" vt1' +mich wget && alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' +mich mbsync && alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' mich nvim && alias vim=nvim -# ls conditioning -mich sl && alias lls=sl && alias llls=sl && alias sls=sl && alias lsl=sl +# conditioning +## ls conditioning +mich sl && alias lls=sl && alias llls=sl && alias sls=sl && alias lsl=sl && alias lss=sl +## cd conditioning +mich sl && alias cdd=sl + +# ip +mich ifconfig && alias lip="ifconfig | grep -w inet | cut -d ' ' -f2" +mich curl && alias gip="curl ifconfig.co" diff --git a/.profile b/.profile @@ -57,6 +57,8 @@ mich() { export VISUAL=$(mich nvim && echo nvim || echo vim ) export EDITOR="$VISUAL" +export BROWSER=$(mich lynx && echo lynx) + chance "${XDG_CONFIG_HOME}/sh/aliases" chance "${XDG_CONFIG_HOME}/sh/plugin/index" chance "${XDG_CONFIG_HOME}/sh/unstaged"