Skip to content

Instantly share code, notes, and snippets.

View MurphyPone's full-sized avatar
💭
Crying in .asm

Peter Murphy MurphyPone

💭
Crying in .asm
View GitHub Profile
let color_palettes = [
["#D63826", "#FFCC00", "#79C3A7", "#00bbff", "#5500FF"],
["#D63826", "#0D809C", "#F5C03E", "#152A3B", "#79C3A7"],
["#0F4155", "#5399A1", "#8CA96B", "#CB5548", "#E7E6F5"],
["#E8614F", "#EBEBD6", "#F3F2DB", "#668065", "#4B3331"],
["#DBE5EC", "#336B87", "#2A3132", "#E94D35", "#EFAC55"],
["#cdd7db", "#5aacad", "#0e7e80", "#00bbff", "#EFAC55"],
];
let init;
@MurphyPone
MurphyPone / .zshrc
Last active April 3, 2023 20:23
.zshrc for vcs
# VCS
autoload -Uz vcs_info
precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info )
setopt prompt_subst
zstyle ':vcs_info:git:*' formats '%F{243}(%b)%f' # '%F{51}(%b) %r%f'
zstyle ':vcs_info:*' enable git
# RPROMPT=\$vcs_info_msg_0_
PROMPT='%(?.%F{green}√.%F{red}?%?)%f %F{184}%h%f %F{208}[%*]%f %F{51}%2~%f ${vcs_info_msg_0_} %F{160}δ%f '
@MurphyPone
MurphyPone / oogabooga.sh
Created June 12, 2020 16:03
A harmless prank
#!/bin/bash
white="\033[0;37m"
red="\033[0;31m"
yellow="\033[0;33m"
green="\033[0;32m"
blue="\033[0;34m"
newTermOpened=0
# aliases
alias vi='vi "+set number"'
alias egrep='egrep --color=auto'
alias grep='grep --color=auto'
alias ls='ls -G'
alias kc='kubectl'
alias ahab="echo 'docker stop \$(docker ps -aq) && docker rm \$(docker ps -aq)' && docker stop \$(docker ps -aq) && docker rm \$(docker ps -aq)"
alias rm='rm -i'
alias history="history | grep"
alias python='/usr/local/bin/python3.7'