Skip to content

Commit

Permalink
[no message]
Browse files Browse the repository at this point in the history
  • Loading branch information
HE7086 committed Jul 16, 2024
1 parent 3851bd7 commit 66ae639
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zsh/.config/zsh/functions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ function nix() {
esac
}

function printpath() {
if [[ -n $path ]]; then
printf '%s\n' $path | nl
else
echo $PATH | sed 's/:/\n/g' | nl
fi
}

# function bkup() {
# [[ $# -lt 2 ]] && echo "usage: bkup <src> <dst>" && return 0;

Expand Down
1 change: 1 addition & 0 deletions zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export LESS='-R'

typeset -U PATH path
path=(
~/.local/share/JetBrains/Toolbox/scripts
~/.nix-profile/bin
~/.local/bin
$path
Expand Down

0 comments on commit 66ae639

Please sign in to comment.