From ac8e4c3003ce7767e15fed0a945c2cdc4883017d Mon Sep 17 00:00:00 2001 From: Casey Brookes <58667871+caseybrookes@users.noreply.github.com> Date: Sat, 9 Sep 2023 07:43:21 -0400 Subject: [PATCH 1/2] fix(install): add bash aliases install step also, removed the terminal ctrl-c and ctrl-p mappings per convo --- src/install_env.sh | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/install_env.sh b/src/install_env.sh index 5c1f8c5..4ab7b93 100644 --- a/src/install_env.sh +++ b/src/install_env.sh @@ -1,18 +1,3 @@ -######################### -## enable ctrl-c and ctrl-v as copy and paste in the terminal -## ref: https://askubuntu.com/questions/53688/making-ctrlc-copy-text-in-gnome-terminal -######################### -sudo apt install gconf2 -gconftool-2 -t str -s /apps/gnome-terminal/keybindings/copy "c" -gconftool-2 -t str -s /apps/gnome-terminal/keybindings/paste "v" - -######################### -## rebind interrupt key to ctrl+x -## ref: https://forums.justlinux.com/showthread.php?127575-Saving-stty-settings-permanently-with-automatic-read; https://stackoverflow.com/a/25391867/3068233; https://forums.justlinux.com/showthread.php?105417-stty-erase-in-bash*; https://askubuntu.com/questions/61543/stty-doesnt-work -######################### -stty intr ^X -grep -qxF 'stty intr ^X' ~/.bashrc || echo '\n# bind interrupt key to ctrl-x\stty intr ^X' >> ~/.bashrc # writes to `~/.bashrc` if that line is not alrady there; Why add to `~/.bashrc` specifically?: https://superuser.com/questions/183870/difference-between-bashrc-and-bash-profile/183980#183980 - ######################### ## install vim ######################### @@ -131,6 +116,10 @@ gnome-terminal # note: if git icon looks weird, make sure to install font that supports it: https://github.com/tonsky/FiraCode : sudo apt install fonts-firacode +######################### +## install bash aliases +######################### +cp ~/git/more/dev-env-setup/src/bash_aliases.sh ~/.bash_aliases && source ~/.bash_aliases ######################### ## make sure your pop-os laptop always starts in battery saver mode From 1d0f98f165f54128120e9a47b297830376e107e7 Mon Sep 17 00:00:00 2001 From: Casey Brookes <58667871+caseybrookes@users.noreply.github.com> Date: Sat, 9 Sep 2023 07:46:38 -0400 Subject: [PATCH 2/2] Update install_env.sh --- src/install_env.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/install_env.sh b/src/install_env.sh index 4ab7b93..037b5cd 100644 --- a/src/install_env.sh +++ b/src/install_env.sh @@ -116,11 +116,6 @@ gnome-terminal # note: if git icon looks weird, make sure to install font that supports it: https://github.com/tonsky/FiraCode : sudo apt install fonts-firacode -######################### -## install bash aliases -######################### -cp ~/git/more/dev-env-setup/src/bash_aliases.sh ~/.bash_aliases && source ~/.bash_aliases - ######################### ## make sure your pop-os laptop always starts in battery saver mode #########################