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

网站的前台网站模板和源码

网站的前台,网站模板和源码,做网站播放未上映的电影,怎么样增加网站权重博客食用更佳 博客链接 安装 zsh 安装 Zsh 安装 Oh-my-zsh github仓库 sh -c "$(curl -fsSL https://install.ohmyz.sh/)"让 zsh 成为 git bash 默认终端 vi ~/.bashrc写入: if [ -t 1 ]; thenexec zsh fisource ~/.bashrc再重启即可。 更换主题 …

博客食用更佳 博客链接

安装 zsh

安装 Zsh

|450

安装 Oh-my-zsh

github仓库

sh -c "$(curl -fsSL https://install.ohmyz.sh/)"
|550

让 zsh 成为 git bash 默认终端

vi ~/.bashrc

写入:

if [ -t 1 ]; thenexec zsh
fi
source ~/.bashrc

再重启即可。

更换主题

主题选择

安装主题 powerlevel10k

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

打开配置文件

vi ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"

使得主题生效

source ~/.zshrc

如果想重新配置 powerlevel10k 界面

p10k configure

插件安装

高亮插件

zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

自动补全插件

zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

使插件生效

vi ~/.zshrc

插件生效

plugins=( git zsh-syntax-highlighting zsh-autosuggestions )
source ~/.zshrc

使用 lsd 配色

官方仓库

|575

安装 lsd

可以使用 scoop 方式,其他方式见官方文档

scoop install lsd

$HOME/.config/lsd 下创建配置文件 config. yml

|325
# == Classic ==
# This is a shorthand to override some of the options to be backwards compatible
# with `ls`. It affects the "color"->"when", "sorting"->"dir-grouping", "date"
# and "icons"->"when" options.
# Possible values: false, true
classic: false# == Blocks ==
# This specifies the columns and their order when using the long and the tree
# layout.
# Possible values: permission, user, group, context, size, date, name, inode, links, git
blocks:- permission- user- group- size- date- name# == Color ==
# This has various color options. (Will be expanded in the future.)
color:# When to colorize the output.# When "classic" is set, this is set to "never".# Possible values: never, auto, alwayswhen: auto# How to colorize the output.# When "classic" is set, this is set to "no-color".# Possible values: default, custom# When "custom" is set, lsd will look in the config directory for `colors.yaml`.theme: default# == Date ==
# This specifies the date format for the date column. The freeform format
# accepts a strftime like string.
# When "classic" is set, this is set to "date".
# Possible values: date, locale, relative, '+<date_format>'
# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55
date: date# == Dereference ==
# Whether to dereference symbolic links.
# Possible values: false, true
dereference: false# == Display ==
# What items to display. Do not specify this for the default behavior.
# Possible values: all, almost-all, directory-only
# display: all# == Icons ==
icons:# When to use icons.# When "classic" is set, this is set to "never".# Possible values: always, auto, neverwhen: auto# Which icon theme to use.# Possible values: fancy, unicodetheme: fancy# Separator between icon and the name# Default to 1 spaceseparator: " "# == Ignore Globs ==
# A list of globs to ignore when listing.
# ignore-globs:
#   - .git# == Indicators ==
# Whether to add indicator characters to certain listed files.
# Possible values: false, true
indicators: false# == Layout ==
# Which layout to use. "oneline" might be a bit confusing here and should be
# called "one-per-line". It might be changed in the future.
# Possible values: grid, tree, oneline
layout: grid# == Recursion ==
recursion:# Whether to enable recursion.# Possible values: false, trueenabled: false# How deep the recursion should go. This has to be a positive integer. Leave# it unspecified for (virtually) infinite.# depth: 3# == Size ==
# Specifies the format of the size column.
# Possible values: default, short, bytes
size: default# == Permission ==
# Specify the format of the permission column
# Possible value: rwx, octal, attributes (windows only), disable
permission: rwx# == Sorting ==
sorting:# Specify what to sort by.# Possible values: extension, name, time, size, versioncolumn: name# Whether to reverse the sorting.# Possible values: false, truereverse: false# Whether to group directories together and where.# When "classic" is set, this is set to "none".# Possible values: first, last, nonedir-grouping: none# == No Symlink ==
# Whether to omit showing symlink targets
# Possible values: false, true
no-symlink: false# == Total size ==
# Whether to display the total size of directories.
# Possible values: false, true
total-size: false# == Hyperlink ==
# Attach hyperlink to filenames
# Possible values: always, auto, never
hyperlink: never# == Symlink arrow ==
# Specifies how the symlink arrow display, chars in both ascii and utf8
symlink-arrow:# == Header ==
# Whether to display block headers.
# Possible values: false, true
header: true# == Literal ==
# Whether to show quotes on filenames.
# Possible values: false, true
literal: false# == Truncate owner ==
# How to truncate the username and group names for a file if they exceed a certain
# number of characters.
truncate-owner:# Number of characters to keep. By default, no truncation is done (empty value).after:# String to be appended to a name if truncated.marker: ""

要注意 permission,改成其他的可能会导致用户名和组别显示 ?

vi ~/.zshrc

添加别名

alias ls='lsd'
alias l='ls -l'
alias la='ls -a'
alias lla='ls -la'
alias lt='ls --tree'
http://www.yayakq.cn/news/823855/

相关文章:

  • 本地网站可以做吗?北京软件公司名称大全
  • 网站建设开发报价wordpress 后台上传
  • 金华网站建设黄页如何做网站推广获客
  • 泗阳网站设计网络营销课程目录
  • 分类目录网站大全湛江网站制作建设
  • 创新的营销型网站湖南省交通建设质量监督站网站
  • 淘宝网站基础建设 托管中文wordpress主题免费下载
  • 江岸区建设局网站网站域名的所有权
  • 杭州网站建设设计制作嘉兴网站制作费用
  • phpstud可以做几个网站个人简历代写
  • 河南网站建设SEO优化制作设计公司网站建设有利点
  • 网站规划设计报告软件开发分工5个角色
  • 岳阳网站建设企业谷歌在线浏览器免费入口
  • 网站出现搜索未来做那些网站能致富
  • 网站建设公司的流程电力建设监理招聘网站
  • 做网站月入100万广州番禺区详细地图
  • 厦门哪里有做网站杭州做网站哪家好
  • 天宁寺网站建设深圳住房和建设局网站预约放号
  • 网站改版的步骤wordpress中文是什么?
  • 中英文双语网站怎么做多用户商城系统哪个好用
  • 免费推广自己的网站电商扶贫网站建设
  • 东莞建站公司运转全网天下有 名佛山网站制作外包
  • 西安建设商城类网站140平米装修多少钱
  • 有什么网站可以做设计兼职品牌策划公司经营哪些内容
  • 淘宝网官方网站数字创意设计包括哪些案例
  • 营销网站建设公司哪家好seo去哪里学
  • 商城 网站 功能wordpress打印短代码
  • 卖车网站WordPress出现404怎么办
  • 网站开发语言学习C 吗深圳住建局官方网电话
  • 安徽专业做网站的大公司快速的网站建设