From f6029a7826a12d49351948c6b898ede07997c2b8 Mon Sep 17 00:00:00 2001 From: Tom Manville Date: Wed, 28 Feb 2018 00:41:50 -0800 Subject: [PATCH] Add bash_alias --- bash_aliases | 1 + bashrc | 1 + config.toml | 4 ++++ vimrc | 4 +++- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 bash_aliases diff --git a/bash_aliases b/bash_aliases new file mode 100644 index 0000000..2c9bbe4 --- /dev/null +++ b/bash_aliases @@ -0,0 +1 @@ +alias xclip='xclip -selection c' diff --git a/bashrc b/bashrc index badb650..a3bbcf9 100644 --- a/bashrc +++ b/bashrc @@ -31,5 +31,6 @@ fi if [ -f ~/.git-completion.bash ]; then . ~/.git-completion.bash fi + PS1='[\[\e[1;34m\]\t\[\e[m\]]\[\e[1;32m\]\u@\h\[\e[m\]:`__git_ps1`\[\e[1;35m\]\w/\[\e[m\] ' set -o vi diff --git a/config.toml b/config.toml index 64b91bf..26c0921 100644 --- a/config.toml +++ b/config.toml @@ -36,9 +36,13 @@ [tasks.input] links = [["${HM_DEST}/.inputrc", "inputrc"]] +[tasks.bash__common] + links = [["${HM_DEST}/.bash_aliases", "bash_aliases"]] [tasks.bash] + deps = ["bash__common"] links = [["${HM_DEST}/.bashrc", "bashrc"]] [tasks.bash__mac] + deps = ["bash__common"] links = [["${HM_DEST}/.bashrc", "bashrc__mac"]] [tasks.git] diff --git a/vimrc b/vimrc index acbc189..c5ea14d 100755 --- a/vimrc +++ b/vimrc @@ -649,7 +649,9 @@ au BufNewFile,BufRead *.md set syntax=markdown autocmd BufWrite *.md :call DeleteTrailingWS() """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" => time +" => Quick Commands """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" map r :r!"date +'%M'" +map tw :set tw=80 +map n :tabnew