cmdcopy: Removed extra newline

This commit is contained in:
David Thurstenson 2021-05-01 17:34:12 -05:00
parent 1210661b02
commit 28061e1e7c
2 changed files with 1 additions and 10 deletions

View File

@ -60,7 +60,7 @@ cmdcopy() { # Terminal output copying shortcut
cmd_output="$("$@" 2>&1)"
# Add preamble
final_output="$(awk -v preamble="$preamble" '{print preamble $0}' <(printf '%s\n\n%s' "$ $*" "$cmd_output"))"
final_output="$(awk -v preamble="$preamble" '{print preamble $0}' <(printf '%s\n%s' "$ $*" "$cmd_output"))"
# Send final output to $clipprog

View File

@ -1,9 +0,0 @@
# ~/.pam_environment variables
# Add home bin folder and ~/.node_modules/bin to $PATH
PATH DEFAULT= OVERRIDE=@{HOME}/bin:@{HOME}/.node_modues/bin@{PATH}
# Redirect npm global installs to user folder instead
# Ref: https://wiki.archlinux.org/index.php/Node.js#Allow_user-wide_installations
npm_config_prefix DEFAULT=/home/thurstylark/.node_modules