From 5cb086ffe607b0dc6585e6ccb21a3022140c479b Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 24 Jun 2023 15:24:57 -0700 Subject: [PATCH] adding in bash rc --- .bashrc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..f7bd830 --- /dev/null +++ b/.bashrc @@ -0,0 +1,29 @@ +# .bashrc + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi + +# User specific environment +if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] +then + PATH="$HOME/.local/bin:$HOME/bin:$PATH" +fi +export PATH=$PATH:/usr/local/go/bin:$HOME/protolint_0.44.0_Linux_x86_64/ +# Uncomment the following line if you don't like systemctl's auto-paging feature: +# export SYSTEMD_PAGER= + +# User specific aliases and functions +if [ -d ~/.bashrc.d ]; then + for rc in ~/.bashrc.d/*; do + if [ -f "$rc" ]; then + . "$rc" + fi + done +fi + +unset rc +. "$HOME/.cargo/env" + +alias task="go-task"