Migration of master edits since branch
This commit is contained in:
parent
fb370990fe
commit
144927b8b9
17
zsh/linux/dmenu_stuff
Normal file
17
zsh/linux/dmenu_stuff
Normal 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
|
||||
}
|
@ -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";
|
||||
|
18
zsh/school
18
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"
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user