標籤:輸入 html tps until 環境變數配置 bbs list 登入 需要
外接鍵盤常用快速鍵設定
其他快速鍵
- command+L 定位到地址欄
- ctrl+Tab 切換到下一個標籤
- command+2 切換到第2個標籤
- command+左右 定位到行首與行尾
- command+上下 定位到檔案頭與檔案尾
- option(映射到alt上,又交換到win上)+左右 定位到上一個與下一個單詞末尾
- 參考https://jingyan.baidu.com/article/08b6a591aac09614a909224f.html
安裝軟體
- clion chrome
- 安裝完成把表徵圖拖到檔案夾上才OK
- 如何尋找軟體安裝路徑:
/Applications/CLion.app/Contents/bin/clion.vmoptions
- 如何尋找軟體安裝路徑: 右鍵->選項->在訪達中顯示;右鍵程式表徵圖->顯示包內容
- 破解軟體: https://www.jianshu.com/p/f404994e2843
- iterm2,使用者環境變數配置如下:
~ $pwd/var/root~ $cat .bash_profile#enables colorin the terminal bash shell exportexport CLICOLOR=1#setsup thecolor scheme for list exportexport LSCOLORS=gxfxcxdxbxegedabagacad#sets up theprompt color (currently a green similar to linux terminal)export PS1=‘\[\033[01;32m\]\[email protected]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ ‘#enables colorfor iTermexport TERM=xterm-256coloralias wk="cd /Users/admin/wangzhiyi"alias ll="ls -lrta"find_git_branch () {local dir=. headuntil [ "$dir" -ef / ]; doif [ -f "$dir/.git/HEAD" ]; thenhead=$(< "$dir/.git/HEAD")if [[ $head = ref:\ refs/heads/* ]]; thengit_branch=" (${head#*/*/})"elif [[ $head != ‘‘ ]]; thengit_branch=" → (detached)"elsegit_branch=" → (unknow)"fireturnfidir="../$dir"donegit_branch=‘‘}PROMPT_COMMAND="find_git_branch; $PROMPT_COMMAND"black=$‘\[\e[1;30m\]‘red=$‘\[\e[1;31m\]‘green=$‘\[\e[1;32m\]‘yellow=$‘\[\e[1;33m\]‘blue=$‘\[\e[1;34m\]‘magenta=$‘\[\e[1;35m\]‘cyan=$‘\[\e[1;36m\]‘white=$‘\[\e[1;37m\]‘normal=$‘\[\e[m\]‘PS1="\[\033[0;31m\]\u \[\033[00;36m\]\W$yellow\$git_branch \[\033[0;33m\]$\[\e[1;37m\]"
- 普通使用者佈建.bash_profile後,開啟item2,其配置生效;但sudo su到root下,即使root使用者目錄下編寫了.bash_profile,但卻是不生效
- sudo su 登入到root後會使用當前的環境
- sudo su 登入到root後,passwd root重新設定密碼給su - root登入使用
- su - root並輸入__新密碼__後 會載入/etc/bashrc(把原.bash_profile內容追加在這個檔案裡)
- 但sudo su的密碼沒有改變
- sudo su 與 su - root 的區別?
linux/windows轉mac的習慣設定