~yerinalexey/dotfiles

2407763b9aa59a9a74add44471648bebde7ae21d — Alexey Yerin 9 months ago 1d99114
zsh: remove lf
2 files changed, 0 insertions(+), 14 deletions(-)

D zsh/functions.zsh
M zsh/init.zsh
D zsh/functions.zsh => zsh/functions.zsh +0 -13
@@ 1,13 0,0 @@
# Utility functions

# lf + cd
function lc() {
	tempfile="$(mktemp '/tmp/lfpath-XXXX')"

	lf -last-dir-path "$tempfile"

	dest="$(cat "$tempfile")"
	[ -n "$dest" -a -d "$dest" -a "$dest" != "$(pwd)" ] && cd "$dest"

	rm "$tempfile"
}

M zsh/init.zsh => zsh/init.zsh +0 -1
@@ 27,7 27,6 @@ compdef _files rmf
# Include other configs
ZSHRC="$XDG_CONFIG_HOME/zsh"

source "$ZSHRC/functions.zsh"
source "$ZSHRC/aliases.zsh"
source "$ZSHRC/bindings.zsh"
source "$ZSHRC/history.zsh"