加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

电脑软件安装和配置

发布时间:2020-12-15 23:26:44 所属栏目:安全 来源:网络整理
导读:- chrome: https://www.google.cn/chrome/ - vimnium - 屏保: https://fliqlo.com/ - 分屏:https://www.spectacleapp.com/ ? - homebrew: https://brew.sh/ - vscode - 扩展 ? - iTerm2 + Oh My Zsh + go2shell - item2: https://www.iterm2.com/ - chsh -s
- chrome: https://www.google.cn/chrome/
  - vimnium
- 屏保: https://fliqlo.com/
- 分屏:https://www.spectacleapp.com/
?
- homebrew: https://brew.sh/
- vscode
  - 扩展

?

- iTerm2 + Oh My Zsh + go2shell
  - item2: https://www.iterm2.com/
    - chsh -s /bin/zsh
  - oh my zsh: https://ohmyz.sh/
  - go2shell: http://zipzapmac.com/go2shell
?
- zshrc 简单配置
extract() {
    if [ -f $1 ] ; then
      case $1 in
        *.tar.bz2)   tar xjf $1     ;;
        *.tar.gz)    tar xzf $1     ;;
        *.bz2)       bunzip2 $1     ;;
        *.rar)       unrar e $1     ;;
        *.gz)        gunzip $1      ;;
        *.tar)       tar xf $1      ;;
        *.tbz2)      tar xjf $1     ;;
        *.tgz)       tar xzf $1     ;;
        *.zip)       unzip $1       ;;
        *.Z)         uncompress $1  ;;
        *.7z)        7z x $1        ;;
        *)     echo "‘$1‘ cannot be extracted via extract()" ;;
         esac
     else
         echo "‘$1‘ is not a valid file"
     fi
}

countline() {
    if [ -n $1 ]; then
        find . -name $1 | xargs wc -l | grep "total"
    else
        echo ‘please input the file type,eg. *.js‘
    fi
}
alias cls=‘clear‘
alias ll=‘ls -l‘
alias la=‘ls -al‘
alias st=‘open -a "Sublime Text"‘
alias vs=‘open -a "Visual Studio Code"‘

?

?
- sublime 配置
{
    "always_show_minimap_viewport": true,"caret_extra_bottom": 3,"caret_extra_top": 3,"caret_extra_width": 2,"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).sublime-color-scheme","default_line_ending": "unix","draw_minimap_border": true,"draw_white_space": "all","ensure_newline_at_eof_on_save": true,"fade_fold_buttons": false,"fold_buttons": true,"font_size": 11,"highlight_line": true,"highlight_modified_tabs": true,"hot_exit": true,"ignored_packages":
    [
        "Vintage"
    ],"overlay_scroll_bars": "enabled","remember_open_files": true,"rulers":
    [
        80
    ],"save_on_focus_lost": true,"tab_size": 4,"theme": "Solarized Flat Dark.sublime-theme","translate_tabs_to_spaces": true,"trim_trailing_white_space_on_save": true,"word_wrap": false,"wrap_width": 80
}

?

- vim 简单配置

set nocompatible

set nu

set cursorline

set cursorcolumn

set ruler

set cc=80

set enc=utf-8
set nobomb

set fileencoding=utf-8
language messages zh_CN.utf-8

set langmenu=zh_CN.UTF-8
set helplang=cn

syntax enable

set background=dark
set t_Co=256

set nobackup

set hlsearch

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读