•••••••••••••
/\ • user • lhy
/ \ • hname • lhy-pc
/ \ • uptime • 3 hours, 41 mins
/ \ • distro • Manjaro Linux x86_64
/ ,, \ • kernel • Linux 6.18.18-1-MANJARO
/ | | \ • desktop • GNOME 49.5
/_-'' ''-_\ • term • WezTerm 20240203-110809-5046fc22
• shell • myimage
• cpu • 12th Gen Intel(R) Core(TM) i7-12650H (12+4) @ 4.70 GHz
• disk • 69.24 GiB / 476.64 GiB (15%) - btrfs
• memory • 8.72 GiB / 30.97 GiB (28%)
• network • 192.168.31.156/24 (wlo1)
•••••••••••••
• colors • ● ● ● ● ● ● ● ●
•••••••••••••操作系统是manjaro
manjaro默认的终端shell是zsh
ubuntu默认的终端shell是bash
cat .zshrc
# Use powerline
USE_POWERLINE="true"
# Has weird character width
# Example:
# is not a diamond
HAS_WIDECHARS="false"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
#if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
# source /usr/share/zsh/manjaro-zsh-prompt
#fi
#终端美化
eval "$(starship init zsh)"
#终端提示命令这个是自己写的
/home/lhy/ggos/fast/myimage
#下面是命令的别名和go的配置
export EDITOR="vim"
export VISUAL="vim"
export GOROOT=/usr/local/go
export GOPATH=$HOME/go # 推荐设置工作目录
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
alias ls='eza'
#放大软件的比例
alias tm='termius --force-device-scale-factor=1.12 & disown'
alias balena-etcher='balena-etcher --force-device-scale-factor=1.25 & disown'
alias wps='prime-run wps'
alias vv='neovide'
alias tp='scp -S tssh'
alias zell='/usr/bin/zellij'
alias py='python3'
alias onl='prime-run onlyoffice-desktopeditors'
alias wx='flatpak run --socket=wayland --env=QT_STYLE_OVERRIDE=adwaita --env=QT_SCALE_FACTOR=1.25 com.tencent.WeChat'
镜像加速配置
export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# opencode
export PATH=/home/lhy/.opencode/bin:$PATH
评论区