Update zsh function path

This commit is contained in:
rydesun 2020-02-27 12:06:22 +08:00
parent 6f09c548a3
commit 1bdd382ae4
2 changed files with 3 additions and 1 deletions

View file

@ -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
# >>>-----------------------------------
# 历史记录 <<<--------------------------

View file

@ -1,3 +1,5 @@
#! /usr/bin/env zsh
# https://zhuanlan.zhihu.com/p/51008087
function _fish_collapsed_pwd() {
local pwd="$1"