Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions src/install_env.sh
Original file line number Diff line number Diff line change
@@ -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 "<Control>c"
gconftool-2 -t str -s /apps/gnome-terminal/keybindings/paste "<Control>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
#########################
Expand Down Expand Up @@ -131,7 +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


#########################
## make sure your pop-os laptop always starts in battery saver mode
#########################
Expand Down