alias -s html=vi,意思就是你在命令行输入hello.html,zsh会为你自动打开vim并读取hello.html; alias -s gz='tar -xzvf',表示自动解压后缀为gz的压缩包。 alias cls='clear' alias ll='ls -l' alias la='ls -a' alias vi='vim' alias javac="javac -J-Dfile.encoding=utf8" alias grep="grep ...
alias -s html=vi,意思就是你在命令行输入hello.html,zsh会为你自动打开vim并读取hello.html; alias -s gz='tar -xzvf',表示自动解压后缀为gz的压缩包。 alias cls='clear' alias ll='ls -l' alias la='ls -a' alias vi='vim' alias javac="javac -J-Dfile.encoding=utf8" alias grep="grep ...
antigen bundle wfxr/forgit antigen bundle djui/alias-tips antigen bundle desyncr/auto-ls antigen bundle MikeDacre/careful_rm antigen bundle viasite-ansible/zsh-ansible-server antigen bundle micha/resty https://github.com/horosgrisa/mysql-colorize https://github.com/thetic/extract.git https://git...
alias myip="curl http://ipecho.net/plain; echo" Restart your shell (for example, by closing it then opening it again), then typemyip. Providing you have thecURL programinstalled, you should see your current public IP address output to the terminal. If you’d like to experiment more with...
@link now is an alias for @dir Fixed #35 3.5 Added new logo Added possibility to use mirrors for GitHub/Gitlab/Bitbucket. See issue 3.4 Added GNU Parallel 3.3 Added origin tag Removed autoload-all tag 3.2 Fix plugin load order Use sched for background run 3.1 Fix completions Add exampl...
open -e ~/.zshrc 进入.zshrc 文件编辑界面之后,可以添加或修改以下常见的配置项: exportPATH="/usr/local/bin:/usr/local/sbin:$PATH"exportPATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH" 别名可以简化一些常用命令。例如: aliasll='ls -la'aliasgs='git status' ...
alias zshconfig='vi ~/.zshrc' alias bashconfig='vi ~/.bash_profile' alias vimconfig='vi ~/.vimrc' alias ll='ls -l' # current public IP alias myip="curl http://ipecho.net/plain; echo" # brew mirrorexportHOMEBREW_BOTTLE_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles" ...
.zshrc文件,在尾部添加如下内容: alias ip="curl cip.cc" 打印如下信息: IP : *.*.*.* 地址 : 中国 四川 成都运营商 : 移动 数据二 : 四川省成都市...| 移动 数据三 : 中国四川成都 | 移动 URL : http://www.cip.cc/*.*.*.* 在shell中键入alias可查看所有的别名命令路径快速补全在知道路径的...
别名alias for git 不需要通过git config配置,且别名更短: #共142个别名。常用的有: ga='git add' gb='git branch' gc='git commit -v' gco='git checkout' gd='git diff' ggpull='git pull origin $(git_current_branch)' ggpush='git push origin $(git_current_branch)' gm='git merge' gr...
别名alias for git 不需要通过git config配置,且别名更短: #共142个别名。常用的有: ga='git add' gb='git branch' gc='git commit -v' gco='git checkout' gd='git diff' ggpull='git pull origin $(git_current_branch)' ggpush='git push origin $(git_current_branch)' ...