Migration of master edits since branch

This commit is contained in:
Wryn Wagner 2019-12-30 17:48:29 -07:00
parent fb370990fe
commit 144927b8b9
5 changed files with 36 additions and 10 deletions

3
zsh/latex Normal file
View File

@ -0,0 +1,3 @@
#!/bin/zsh
alias tekclean='rm *.aux *.log *.pdf'

17
zsh/linux/dmenu_stuff Normal file
View File

@ -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
}

View File

@ -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";

View File

@ -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"

View File

@ -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';