settings64.sh 자동으로 해주는 작업
vi ~/.bashrc 65 fi 66 unset color_prompt force_color_prompt 67 68 # If this is an xterm set the title to user@host:dir 69 case "$TERM" in 70 xterm*|rxvt*) 71 PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 72 ;; 73 *) 74 ;; 75 esac 76 77 # enable color support of ls and also add handy aliases 78 if [ -x /usr/bin/dircolors ]; then 79 test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 80 alias ls='ls --color=auto' 81 #alias dir='dir --color=auto' 82 #alias vdir='vdir --color=auto' 83 84 alias grep='grep --color=auto' 85 alias fgrep='fgrep --color=auto' 86 alias egrep='egrep --color=auto' 87 fi 88 89 # colored GCC warnings and errors 90 #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' 91 92 # some more ls aliases 93 alias ll='ls -alF' 94 alias la='ls -A' 95 alias l='ls -CF' 96 97 source ~/tools/Xilinx/Vivado/2020.2/settings64.sh 98 99 Add an "alert" alias for long running commands. Use like so: 100 # sleep 10; alert 101 alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' 102 103 # Alias definitions. 104 # You may want to put all your additions into a separate file like 105 # ~/.bash_aliases, instead of adding them here directly. 106 # See /usr/share/doc/bash-doc/examples in the bash-doc package. 107 108 if [ -f ~/.bash_aliases ]; then 109 . ~/.bash_aliases 110 fi 111 112 # enable programmable completion features (you don't need to enable 113 # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 114 # sources /etc/bash.bashrc). 115 if ! shopt -oq posix; then 116 if [ -f /usr/share/bash-completion/bash_completion ]; then 117 . /usr/share/bash-completion/bash_completion 118 elif [ -f /etc/bash_completion ]; then 119 . /etc/bash_completion 120 fi 121 fi 122