Created
September 8, 2022 01:50
-
-
Save leimingyu/6b95dcb04d0f3cf707e3b4c72faa7df3 to your computer and use it in GitHub Desktop.
some common configurations for ~/.bashrc file
This file contains 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
#-----------------------------------------------------------------------------# | |
# 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