dotwryn/bash/utility

23 lines
882 B
Plaintext
Raw Normal View History

#!/bin/bash
2019-12-01 03:41:45 +00:00
# --- Shortcuts for quick ARANDR switch -----------------------
alias undock="$DOTWRYN/config/xserver/screenlayout/undock.sh";
2019-12-02 19:36:26 +00:00
alias workdock="$DOTWRYN/config/xserver/screenlayout/workdock.sh";
2019-12-01 03:41:45 +00:00
alias homedock="$DOTWRYN/config/xserver/screenlayout/homedock_hdmionly.sh";
2019-12-02 17:19:25 +00:00
alias hdmidock="$DOTWRYN/config/xserver/screenlayout/hdmidock.sh";
2019-12-01 03:41:45 +00:00
# --- Note-taking facilitated ---------------------------------
NOTE_PATH='/Users/w0ryn/Documents/notes';
NOTE_EXTENSION='.txt';
alias mynotes='cd $NOTE_PATH';
function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; }
function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ $1 ] && [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; }
2019-08-06 20:42:56 +00:00
# --- GIT -----------------------------------------------------
alias gitbranchcleanup='git branch -d $(git branch | sed -E "/develop|master|\*/d")'
alias pd='pushd';
alias qd='popd';
alias ds='dirs';