From a3514b8a6ce75ce1ff8aadd17296ab87dcb4b8e1 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 11 Jan 2018 16:13:30 +0000 Subject: [PATCH] Some work to dotfiles --- Templates/letter.md | 27 +++++++++++++++++++++++++++ bash_profile | 2 ++ bashrc | 3 +++ config/oh-my-zsh/aliases.zsh | 2 ++ zshrc | 3 +++ 5 files changed, 37 insertions(+) create mode 100644 Templates/letter.md diff --git a/Templates/letter.md b/Templates/letter.md new file mode 100644 index 00000000..f0c28fd5 --- /dev/null +++ b/Templates/letter.md @@ -0,0 +1,27 @@ +--- +address: +- Address Line 1 +- Address Line 2 +- Address Line 3 +- Post Code +# return-address # From Address. You can use \email for auto configured email +# cc +# ps +encl: +- cv +- another letter +opening: Dear Bob, +# closing +subject: My Subject +# colorlinks: true +... + +This is my letter + +\blindtext + +This is my letter + +This is my letter + +This is my letter diff --git a/bash_profile b/bash_profile index be63bcd1..bdd1682f 100644 --- a/bash_profile +++ b/bash_profile @@ -27,3 +27,5 @@ complete -o default -o nospace -W "$(/usr/bin/env ruby -ne 'puts $_.split(/[,\s] [ -r "$HOME/.smartcd_config" ] && ( [ -n $BASH_VERSION ] || [ -n $ZSH_VERSION ] ) && source ~/.smartcd_config + +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* diff --git a/bashrc b/bashrc index 1bedd56c..fec177aa 100644 --- a/bashrc +++ b/bashrc @@ -362,3 +362,6 @@ clear #set -o vi # vim: foldmethod=marker + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin" diff --git a/config/oh-my-zsh/aliases.zsh b/config/oh-my-zsh/aliases.zsh index d9005669..6b0a769e 100644 --- a/config/oh-my-zsh/aliases.zsh +++ b/config/oh-my-zsh/aliases.zsh @@ -11,6 +11,8 @@ alias ls='ls -F --color=auto' # Make tree add indicators and color alias tree='tree -F -C' +alias msfconsole="msfconsole --quiet -x \"db_connect msf@msf\"" + #Start cups alias cups='sudo systemctl start org.cups.cupsd.service' diff --git a/zshrc b/zshrc index d76adbb6..12cb127b 100644 --- a/zshrc +++ b/zshrc @@ -90,3 +90,6 @@ if [ -e "$HOME/.smartcd_config" ]; then fi export TERM=xterm-256color + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin"