Skip to content

Commit

Permalink
Add bash_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Manville committed Feb 28, 2018
1 parent cfe8822 commit f6029a7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias xclip='xclip -selection c'
1 change: 1 addition & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 3 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,9 @@ au BufNewFile,BufRead *.md set syntax=markdown
autocmd BufWrite *.md :call DeleteTrailingWS()

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => time
" => Quick Commands
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
map <leader>r :r!"date +'%M'"
map <leader>tw :set tw=80<CR>
map <leader>n :tabnew<CR>

0 comments on commit f6029a7

Please sign in to comment.