Skip to content

Commit

Permalink
break up long line in cpfp
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckzCantFly committed Oct 11, 2023
1 parent 5e61ad5 commit 2c25d2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions shell/functionrc/functionrc.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ autotmux(){
# Copy File's Path
cpfp(){
if [ -n "$1" ] ; then
local CPFILE="$@" \
&& readlink -f "$CPFILE" | tr -d '\n' | xclip -selection clipboard
local CPFILE="$@"
readlink -f "$CPFILE" \
| tr -d '\n' \
| xclip -selection clipboard
fi
}

Expand Down

0 comments on commit 2c25d2d

Please sign in to comment.