mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Update zsh function path
This commit is contained in:
parent
6f09c548a3
commit
1bdd382ae4
2 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ ZSH_AUTOSUGGEST_USE_ASYNC=1
|
|||
# pkgfile: 命令找不到时提示安装包
|
||||
source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
# function: 模仿fish折叠路径
|
||||
source ${ZDOTDIR}/functions/fish_collapsed_pwd.sh
|
||||
source ${ZDOTDIR}/functions/fish_collapsed_pwd.zsh
|
||||
# >>>-----------------------------------
|
||||
|
||||
# 历史记录 <<<--------------------------
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#! /usr/bin/env zsh
|
||||
|
||||
# https://zhuanlan.zhihu.com/p/51008087
|
||||
function _fish_collapsed_pwd() {
|
||||
local pwd="$1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue