我自己的config.fish文件
set -x EDITOR vim
set -x fish_color_search_match --background='444'
set -x LD_LIBRARY_PATH ".:/home/hzh/soft/my-bin:$LD_LIBRARY_PATH"
set -l MY_BIN /home/hzh/soft/my-bin
set -x PATH {$MY_BIN} {$PATH}
# alias ls 'ls --time-style=+"%b %d %Y %H:%M:%S"'
alias bat 'bat --style=plain'
alias cat 'bat --style=plain'
alias fd '/usr/bin/fd -HI'
alias rg "/usr/bin/rg --type-clear make --type-add 'dts:*.{dts,dtsi}' --type-add 'web:*.{htm,html,htmls,css,js}' --type-add 'make:{*.mak,*.mk,[Gg][Nn][Uu]makefile,[Gg][Nn][Uu]makefile.am,[Gg][Nn][Uu]makefile.in,[Mm]akefile,[Mm]akefile.am,[Mm]akefile.in,[kK]build,[kK]config,*.cmake,CMakeLists.txt}' --max-columns 150 --max-columns-preview --smart-case --no-ignore"
alias up 'bd -s -i'
alias reboot 'echo "/usr/sbin/reboot"'
alias shutdown 'echo "/usr/sbin/shutdown"'
alias rm 'echo "/usr/bin/rm"'
alias mv 'mv -i'
alias cp 'cp -i'
alias rp realpath
alias fjl trash-list
bind \cd delete-char
# fzf parameter
set -x FZF_DEFAULT_OPTS '--height 40% --layout=reverse --border'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
支付宝扫一扫捐赠
支付宝扫一扫捐赠
微信公众号: 共鸣圈
欢迎讨论,邮件: 924948$qq.com 请把$改成@
QQ群:263132197
QQ: 924948