Created
March 26, 2019 11:20
-
-
Save trishnaguha/9a6cec947a90e71cc59dcb61e9492948 to your computer and use it in GitHub Desktop.
bashrc
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
i .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# Uncomment the following line if you don't like systemctl's auto-paging feature: | |
# export SYSTEMD_PAGER= | |
# User specific aliases and functions | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " | |
# Specify the location for the log file | |
# Enable Debug | |
export ANSIBLE_DEBUG=True | |
export ANSIBLE_LOG_PATH=~/setupfacts | |
export ANSIBLE_HOST_KEY_CHECKING=False | |
#export ANSIBLE_PERSISTENT_COMMAND_TIMEOUT=60000 | |
#export ANSIBLE_PERSISTENT_CONNECT_TIMEOUT=60000 | |
# remove tags created by vim plugins | |
find /home/tguha/* -type f -name "*tags" -delete | |
# aliases | |
alias spotify='snap run spotify' | |
alias setup='source /home/tguha/workspace/ansible/hacking/env-setup' | |
alias integration='ansible-test network-integration --inventory ./inventory.network -vvvv' | |
alias unittest='ansible-test units --python 2.7 --tox' | |
alias play='ansible-playbook -vvvv' | |
alias play-ne="ANSIBLE_GATHERING=explicit ansible-playbook -i inventory test.yml -vvvv" | |
alias changelog-ne="reno -d changelogs/ report --title --no-show-source --output CHANGELOG.rst" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment