This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run with: history -a && ./lastc.sh | |
clear | |
echo "Use \"history -a\" before to populate ~/.bash_history with your current history" | |
sleep 2 | |
last5=$(cat ~/.bash_history |tail -n6 |head -n1 |xargs echo -n) | |
last4=$(cat ~/.bash_history |tail -n5 |head -n1 |xargs echo -n) | |
last3=$(cat ~/.bash_history |tail -n4 |head -n1 |xargs echo -n) | |
last2=$(cat ~/.bash_history |tail -n3 |head -n1 |xargs echo -n) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remap prfix to ctrl+a | |
#set -g prefix C-a | |
#unbind C-b | |
#bind C-a send-prefix | |
# window splitting | |
unbind % | |
bind | split-window -h | |
unbind '"' | |
bind - split-window -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim color file - maoui | |
" Generated by http://bytefluent.com/vivify 2014-10-23 | |
set background=dark | |
if version > 580 | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
endif |
NewerOlder