Volans has uploaded a new change for review. https://gerrit.wikimedia.org/r/303797
Change subject: Admin: add my home files (volans) ...................................................................... Admin: add my home files (volans) Change-Id: If7634f560399f440aa0a55e90e4c4a22150375d5 --- A modules/admin/files/home/volans/.bashrc A modules/admin/files/home/volans/.gitconfig A modules/admin/files/home/volans/.profile 3 files changed, 51 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/97/303797/1 diff --git a/modules/admin/files/home/volans/.bashrc b/modules/admin/files/home/volans/.bashrc new file mode 100644 index 0000000..259af8f --- /dev/null +++ b/modules/admin/files/home/volans/.bashrc @@ -0,0 +1,28 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +# Prompt +export PS1="\[\033[48;5;1m\]\[\033[01;37m\] \h \[\033[00m\] \[\033[01;37m\]\$?\[\033[00m\] \[\033[01;36m\]\w\[\033[00m\]\$ " + +# Safe aliases +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' +alias ln='ln -i' + +# Useful aliases +alias top='top -cd 1' +alias free='free -m' +alias my='sudo mysql --defaults-file=/root/.my.cnf' + +# ls aliases +export LS_OPTIONS='--color=auto' +eval "$(dircolors)" +alias ls='ls $LS_OPTIONS' +alias ll='ls $LS_OPTIONS -lAhrt' +alias l='ls $LS_OPTIONS -lAh' + +# Bash history +export HISTCONTROL=erasedups +export HISTSIZE=30000 +export HISTFILESIZE=50000 +shopt -s histappend diff --git a/modules/admin/files/home/volans/.gitconfig b/modules/admin/files/home/volans/.gitconfig new file mode 100644 index 0000000..8d44e01 --- /dev/null +++ b/modules/admin/files/home/volans/.gitconfig @@ -0,0 +1,16 @@ +[user] + name = Riccardo Coccioli + email = [email protected] + +[alias] + b = branch + fe = fetch --recurse-submodules + pu = pull --recurse-submodules + su = submodule foreach 'git pull' + st = status + co = checkout + ci = commit + ds = diff --staged + di = diff --submodule + wdi = diff --word-diff=plain + ll = log --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative diff --git a/modules/admin/files/home/volans/.profile b/modules/admin/files/home/volans/.profile new file mode 100644 index 0000000..bc300dd --- /dev/null +++ b/modules/admin/files/home/volans/.profile @@ -0,0 +1,7 @@ +# ~/.profile: executed by Bourne-compatible login shells. + +if [ "$BASH" ]; then + if [ -f ~/.bashrc ]; then + . ~/.bashrc + fi +fi -- To view, visit https://gerrit.wikimedia.org/r/303797 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If7634f560399f440aa0a55e90e4c4a22150375d5 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Volans <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
