added nocomments alias

removes comments from file and prints the rest
This commit is contained in:
Bryan Joshua Pedini 2023-10-02 14:38:23 +02:00
parent 756bfbc542
commit 3c4e7d7858

View File

@ -5,6 +5,7 @@ alias sshconfig='nano ~/.ssh/config'
alias bashrc='. ~/.bashrc'
alias sshagent='eval `ssh-agent` && ssh-add ~/.ssh/id_!(*.pub)'
alias sshfingerprint='ssh-keygen -lf'
alias nocomments='grep -vE "^$|^#|^;"'
alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)'
alias newansibleworkspace='bash <(curl -s https://get.bjphoster.com/new-ansible-workspace.sh)'