From 28061e1e7c4fe4a19975c37f53cf41087312b145 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 1 May 2021 17:34:12 -0500 Subject: [PATCH] cmdcopy: Removed extra newline --- .bashrc.d/cmdcopy.bash | 2 +- .pam_environment | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 .pam_environment diff --git a/.bashrc.d/cmdcopy.bash b/.bashrc.d/cmdcopy.bash index f28c9a2..5fdba90 100644 --- a/.bashrc.d/cmdcopy.bash +++ b/.bashrc.d/cmdcopy.bash @@ -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 diff --git a/.pam_environment b/.pam_environment deleted file mode 100644 index 57e6a5e..0000000 --- a/.pam_environment +++ /dev/null @@ -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