Skip to content

Instantly share code, notes, and snippets.

@leimingyu
Created September 8, 2022 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leimingyu/6b95dcb04d0f3cf707e3b4c72faa7df3 to your computer and use it in GitHub Desktop.
Save leimingyu/6b95dcb04d0f3cf707e3b4c72faa7df3 to your computer and use it in GitHub Desktop.
some common configurations for ~/.bashrc file
#-----------------------------------------------------------------------------#
# some common configurations for ~/.bashrc file
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# some more ls aliases
#-----------------------------------------------------------------------------#
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
#-----------------------------------------------------------------------------#
# avoid highlighted dirs in windows smb server
#-----------------------------------------------------------------------------#
LS_COLORS=$LS_COLORS:'ow=1;34:' ; export LS_COLORS
#-----------------------------------------------------------------------------#
# cuda lib
#-----------------------------------------------------------------------------#
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64
#-----------------------------------------------------------------------------#
# utility commands
#-----------------------------------------------------------------------------#
alias cd1='cd ..'
alias cd2='cd ../../'
alias cd3='cd ../../../'
alias cd4='cd ../../../../'
alias cd5='cd ../../../../../'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment