cmdcopy: Removed extra newline
This commit is contained in:
parent
1210661b02
commit
28061e1e7c
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue