I hereby claim:
- I am cesalazar on github.
- I am cesalazar (https://keybase.io/cesalazar) on keybase.
- I have a public key whose fingerprint is 30C6 435D BE8D 4AA1 CE91 B4FB 8A43 6D6D 57EC E83B
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# (1) copy to: ~/ssh-host-color | |
# (2) set: alias ssh=~/ssh-host-color | |
# iTerm2 window color commands | |
term-bgcolor(){ | |
local R=$1 | |
local G=$2 | |
local B=$3 |
alias ll='ls -alFh' | |
alias rm='rm -f' | |
alias grep='grep -i --color' | |
alias lgrep='ll | grep' | |
alias att='tmux attach' | |
alias :q='exit' | |
alias art='php artisan' | |
alias rell='source ~/.zshrc && echo "Profile reloaded"' | |
alias cls='echo -e "...\n\n\n\n\n..."; clear' | |
alias gdif='git diff' |
#!/bin/bash | |
N_ZSH="\n zsh not found. Installing it\n" # Not found | |
Y_ZSH="\n zsh found. Cloning prezto\n" # Yes found :P | |
install_zsh (){ | |
sudo apt-get update && sudo apt-get -y install zsh | |
} | |
clone_prezto (){ |
#!/bin/sh | |
device='SynPS/2 Synaptics TouchPad' | |
state=$(xinput --list-props "$device" | grep 'Device Enabled' | awk '{print $4}') | |
action=$([ "$state" = 1 ] && echo "--disable" || echo "--enable") | |
notify=true | |
timeout=1000 | |
iconPath=/usr/share/icons/Adwaita/22x22/actions/ | |
iconOff=zoom-out.png |
set smoothscroll | |
let defaultengine = "duckduckgo" | |
let completionengine = ["duckduckgo"] | |
map <A-j> previousTab | |
map <A-k> nextTab | |
map yt :tabnew @%<CR> | |
map yf yankUrl | |
map R reloadTabUncached | |
map , lastUsedTab |
I hereby claim:
To claim this, I am signing this object:
{ | |
"keymaps": { | |
"0": { "type": "scroll.home" }, | |
":": { "type": "command.show" }, | |
"o": { "type": "command.show.open", "alter": false }, | |
"O": { "type": "command.show.open", "alter": true }, | |
"t": { "type": "command.show.tabopen", "alter": false }, | |
"T": { "type": "command.show.tabopen", "alter": true }, | |
"w": { "type": "command.show.winopen", "alter": false }, | |
"W": { "type": "command.show.winopen", "alter": true }, |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> released under the WTFPL v2 license, by Gregory Pakosz (@gpakosz) | |
# -- navigation ---------------------------------------------------------------- | |
# if you're running tmux within iTerm2 | |
# - and tmux is 1.9 or 1.9a | |
# - and iTerm2 is configured to let option key act as +Esc | |
# - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys |
// ==UserScript== | |
// @name Re-enable YouTube keyboard controls | |
// @namespace com.cesalazar.ytkbctrl | |
// @version 0.8 | |
// @description Re-enable (some) keyboard controls, after disabling YT defaults using uBlock Origin. | |
// @author Carlos E. Salazar | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
# useful general .bash_profile tweaks for color loving VI fans | |
export TERM=xterm-color | |
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;36' | |
export CLICOLOR=1 | |
alias ls='ls -G' | |
export LS_COLORS='di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rb=90' | |
export COLOR_NC='\e[0m' # No Color | |
export COLOR_WHITE='\e[1;37m' | |
export COLOR_BLACK='\e[0;30m' |