当前位置: 首页 > news >正文

购物商城网站制作网上购物商城系统设计

购物商城网站制作,网上购物商城系统设计,seo网站推广工具,网站ip拦截Mac OS自带的终端#xff0c;用起来虽然有些不太方便#xff0c;界面也不够友好#xff0c;关键是在windows上用习惯了自动补全功能#xff0c;在Mac上一个个的拼写单词是真的难受#xff0c;逼着我记英文单词。 经过一天的磨合#xff0c;我实在忍不了#xff0c;在网上…Mac OS自带的终端用起来虽然有些不太方便界面也不够友好关键是在windows上用习惯了自动补全功能在Mac上一个个的拼写单词是真的难受逼着我记英文单词。 经过一天的磨合我实在忍不了在网上查到了iTerm2这个款终端工具这是一款相对比较好用的终端工具。 iTerm2常用操作包括主题选择、声明高亮、自动填充建议、隐藏用户名和主机名、分屏效果等。这里主要介绍我使用的自动补全建议、声明高亮另外几个功能如果有需求可以在 参考资料 中找到。 iTerm2 下载与安装 iTerm2下载地址https://www.iterm2.com/downloads.html 注意下载的是压缩文件解压后直接双击执行程序文件或者直接将它拖到 Applications 目录下。 也可以直接使用Homebrew进行安装 brew cask install iterm2 iTerm2主题配置请参考 Mac下iTerm2的安装与配置 Homebrew 安装方法请参考 macbook 安装 Git 和 安装 Homebrew 查看 Mac 系统是否使用 zsh Mac系统默认使用bash作为终端但是新的Mac系统已经默认使用zsh查看方式 cat /etc/shells /bin/bash /bin/csh /bin/dash /bin/ksh /bin/sh /bin/tcsh /bin/zshbash与zsh切换命令 chsh -s /bin/zsh chsh -s /bin/bash bash与zsh配置文件 bash的配置文件~/.bash_profilezsh的配置文件~/.zshrc 安装配置 zsh Zsh 和 bash 一样是一种 Unix shell但大多数 Linux 发行版都默认使用 bash shell。但 Zsh有强大的自动补全参数和自定义配置功能等等Github地址https://github.com/robbyrussell/oh-my-zsh 安装命令 sh -c “$(curl -fsSL https: //raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)” 或 使用 Homebrew 进行安装 Mac 系统自带了zsh, 一般不是最新版如果需要最新版可通过Homebrew来安装。 brew install zsh 可通过查看zsh的版本。 zsh --version 安装完成以后将zsh设置为默认的Shell chsh -s /bin/zsh 安装 oh-my-zsh oh-my-zsh 帮我们整理了一些常用的 Zsh 扩展功能和主题https://github.com/robbyrussell/oh-my-zsh 在终端输入命令 sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)” Cloning into /root/.oh-my-zsh... remote: Counting objects: 712, done. remote: Compressing objects: 100% (584/584), done. remote: Total 712 (delta 15), reused 522 (delta 4), pack-reused 0 Receiving objects: 100% (712/712), 443.58 KiB | 27.00 KiB/s, done. Resolving deltas: 100% (15/15), done. Checking connectivity... done. Looking for an existing zsh config... Using the Oh My Zsh template file and adding it to ~/.zshrc Copying your current PATH and adding it to the end of ~/.zshrc for you. Time to change your default shell to zsh!__ ______ / /_ ____ ___ __ __ ____ _____/ /_ / __ \/ __ \ / __ __ \/ / / / /_ / / ___/ __ \ / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_//____/ ....is now installed!Please look over the ~/.zshrc file to select plugins, themes, and options. p.s. Follow us at https://twitter.com/ohmyzsh. p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.安装完成以后默认Shell的 ~/.bashrc 文件默认不再加载了替代的是 ~/.zlogin 和 ~/.zshrc 。所以如果你在 ~/.bashrc 里配置了某些设置需要把她们复制到 ~/.zshrc 中。 oh my zsh 其他安装方式参考 Mac下iTerm2的安装与配置 oh my zsh 目录结构 进入~/.oh-my-zsh目录后看看该目录的结构 ls ~/.oh-my-zsh CODE_OF_CONDUCT.md SECURITY.md log themes CONTRIBUTING.md cache oh-my-zsh.sh tools LICENSE.txt custom plugins README.md lib templateslib 提供了核心功能的脚本库 tools 提供安装、升级等功能的快捷工具 plugins 自带插件的存在放位置 templates 自带模板的存在放位置 themes 自带主题文件的存在放位置 custom 个性化配置目录自安装的插件和主题可放这里 安装自动补全插件 在终端输入命令 cd ~/.oh-my-zsh/custom/plugins git clone https://github.com/zsh-users/zsh-autosuggestions.git 安装命令高亮插件 在终端输入命令 cd ~/.oh-my-zsh/custom/plugins git clone https://github.com/zsh-users/zsh-syntax-highlighting.git 配置 .zshrc 文件 在终端输入命令 vim ~/.zshrc 打开.zshrc 文件进入vim 编辑器模式 按i进入编辑模式 在 ~/.zshrc 中添加以下内容我添加在文件末尾 source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 在 ~/.zshrc 中修改 plugins(git) 为 plugins(git zsh-autosuggestions zsh-syntax-highlighting) # Which plugins would you like to load? # Standard plugins can be found in $ZSH/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins(git zsh-autosuggestions zsh-syntax-highlighting)source $ZSH/oh-my-zsh.sh保存修改 按 esc 键 输入:wq!按 enter 键 退出编辑 让配置生效 在终端执行命令 source ~/.zshrc vim 编辑器基本语法请参考 macbook 安装 Git 和 安装 Homebrew 参考 Mac下iTerm2的安装与配置 mac git命令按Tab不能自动补全解决方法 如何配置MAC的终端自动补全命令行并忽略大小写 MacOS 安装配置 zsh Mac 终端配置 oh-my-zsh 和自动补全以及命令高亮 Mac 常用的 20 款效率神器推荐
http://www.eeditor.cn/news/124603/

相关文章:

  • 网站描述怎么写比较好wordpress 主题预览空白
  • 手机站点cn百度网站免费电话
  • 房地产公司如何网站建设wordpress 导入网页
  • 定制网站建设制作代写1000字多少钱
  • 阿里巴巴外贸平台中文长沙优化网站建设
  • 汕头网站快速排名优化试玩网页游戏
  • 大型网站开发的主流语言从哪些方面评价一个企业的网站建设
  • 网站流量用什么表示耐克网站建设的历程
  • 游戏网站开发什么意思豆瓣网站是怎么建设的
  • 怎么判断网站是否被收录广州站
  • 帝国建站系统网站空间过期
  • 网站建设基础ppt看啥网一个没有人工干预的网
  • 株洲网站排名优化价格成都市建设厅官方网站
  • 公司注销后 网站备案做网站需要会什么 知乎
  • 内江市网站建设培训wordpress 商家 用户
  • 广州网站改版设计新版wordpress头像
  • 网站建设项目经理如何用微信做网站
  • 深圳外贸网站优化哪家好南昌seo推广外包
  • 网站名称需要用注册吗湖南网站建设 莫道
  • 网站应当实现那些功能 流程如何设计西安创意网站建设
  • 培训机构 网站建设wordpress 可以上传存储附件
  • 织梦网站logo怎么换网站建设是否包含等保
  • 索莱宝做网站推广普通话内容50字
  • 漳州微网站建设公司推荐工程师招聘网站
  • 外外贸网站推广方案免费模板素材软件
  • 专业的句容网站建设广告营销案例100例
  • 上饶建设银行网站正规代加工在哪里找
  • 深圳网站建设就q479185700顶上沧州大型企业网站建设
  • 哪些安防公司做了手机网站apicloud安装wordpress
  • 网上做翻译兼职网站好房产网签