commit 792362ed7e8329615a3234c672ce0b40d33bb14a parent 5685018710ca7687cd8df7a0ac0ab6f40b2d331e 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"