Compare commits

...

2 commits

2 changed files with 6 additions and 5 deletions

View file

@ -20,9 +20,12 @@ cdll () {
# Create standard git WIP commit with timestamps # Create standard git WIP commit with timestamps
alias gitwip="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\"" alias gitwip="git commit -m \"wip: $(date +%Y-%m-%dT%H:%M:%S%z) ($(date +%s))\""
# Remove dropped upstream git branches from remote # Remove dropped upstream git branches from remote
alias gitclear="git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D" alias gitclear="git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D"
# Shorthand git pull origin
alias gitp="git pull origin"
# Shorthand git status"
alias gits="git status"
# Generate random 16byte HEX # Generate random 16byte HEX
alias rng16="head -c 16 /dev/random | xxd -p" alias rng16="head -c 16 /dev/random | xxd -p"

View file

@ -2,17 +2,15 @@
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
# Resize to smallest attached client # Resize to smallest attached client
#set -g window-size smallest set -g window-size smallest
# Enable mouse support # Enable mouse support
set -g mouse on set -g mouse on
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B) # Set control character to Ctrl+Spacebar
set -g prefix C-space set -g prefix C-space
set -g prefix F1
#unbind-key C-b #unbind-key C-b
bind-key C-space send-prefix bind-key C-space send-prefix
bind-key F1 send-prefix
# Set new panes to open in current directory # Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"