Skip to content

Commit

Permalink
my .bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
parsapoorsh authored May 27, 2024
1 parent 87a374f commit dc906e3
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ shopt -s checkwinsize
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
Expand Down Expand Up @@ -76,21 +76,22 @@ esac
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'

#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
alias ll='ls -l'
alias lh='ls -lh'
alias la='ls -A'
alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
Expand All @@ -111,3 +112,5 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi

export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)

0 comments on commit dc906e3

Please sign in to comment.