diff --git a/zsh/latex b/zsh/latex new file mode 100644 index 0000000..d10acb5 --- /dev/null +++ b/zsh/latex @@ -0,0 +1,3 @@ +#!/bin/zsh + +alias tekclean='rm *.aux *.log *.pdf' diff --git a/zsh/linux/dmenu_stuff b/zsh/linux/dmenu_stuff new file mode 100644 index 0000000..b734796 --- /dev/null +++ b/zsh/linux/dmenu_stuff @@ -0,0 +1,17 @@ +#!/bin/zsh + +# Make a new dmenu shortcut +DMENU_CUSTOM_BIN="$HOME/.local/custom_dmenu"; + +[ ! -d $DMENU_CUSTOM_BIN ] && mkdir $DMENU_CUSTOM_BIN; + +function new_dmenu_command() { + local DMENU_BIN="$HOME/.local/custom_dmenu"; + + # fail withouut both arguments + [ ! $2 ] && exit 1; + + echo "${@:2}" + echo "${@:2}" > $DMENU_BIN/$1 2>/dev/null + chmod +x $DMENU_BIN/$1 +} diff --git a/zsh/rentdynamics b/zsh/rentdynamics index 829a4a8..cfc9644 100644 --- a/zsh/rentdynamics +++ b/zsh/rentdynamics @@ -44,7 +44,7 @@ function rntbranchcleanup() { rnt $dir >/dev/null 2>/dev/null; if [ -d .git ]; then printf " - %s\e[1;34m %s\e[0m..." "clearing repository" "$dir"; - git branch -d $(git branch | sed -E "/master|\*/d") >/dev/null 2>/dev/null; + git branch -d $(git branch | sed -E "/master|\*|epic-*/d") >/dev/null 2>/dev/null; printf "\e[1;32m%s\e[0m\n" " DONE"; else printf " - \e[1;34m%s\e[1;31m %s\e[0m" "$dir" "is not a git repository"; diff --git a/zsh/school b/zsh/school index 33aa912..3d35fcf 100644 --- a/zsh/school +++ b/zsh/school @@ -4,16 +4,16 @@ # ------------------------------------- alias school="cd $SCHOOL_DIR"; -alias classes="cat $SCHOOL_DIR/.classes"; +alias classes="echo; cat $SCHOOL_DIR/.classes | lolcat; echo"; -alias cs5680='school; cd cs5680__computer_vision'; -alias compvis='cs5680' -alias cs5600='school; cd cs5600__intelligent_systems'; -alias intsys='cs5600' -alias engr3080='school; cd engr3080__tech_writing'; -alias techwrit='engr3080' -alias phil1120='school; cd phil1120__social_ethics'; -alias socioet='phil1120' +#alias cs5680='school; cd cs5680__computer_vision'; +#alias compvis='cs5680' +#alias cs5600='school; cd cs5600__intelligent_systems'; +#alias intsys='cs5600' +#alias engr3080='school; cd engr3080__tech_writing'; +#alias techwrit='engr3080' +#alias phil1120='school; cd phil1120__social_ethics'; +#alias socioet='phil1120' HW_TEMPLATE="$DOTWRYN/latex/homework_template.tex" diff --git a/zsh/utility b/zsh/utility index bd1ebdf..64e6201 100644 --- a/zsh/utility +++ b/zsh/utility @@ -1,5 +1,11 @@ #!/bin/zsh +# --- Shortcuts for quick ARANDR switch ----------------------- +alias undock="$DOTWRYN/config/xserver/screenlayout/undock.sh"; +alias workdock="$DOTWRYN/config/xserver/screenlayout/workdock.sh"; +alias homedock="$DOTWRYN/config/xserver/screenlayout/homedock_hdmionly.sh"; +alias hdmidock="$DOTWRYN/config/xserver/screenlayout/hdmidock.sh"; + # --- Note-taking facilitated --------------------------------- NOTE_PATH='/Users/w0ryn/Documents/notes'; NOTE_EXTENSION='.txt';