maintenance

This commit is contained in:
Stefen Auris 2022-12-19 02:00:48 -05:00
parent f4e5562b96
commit 29ed94da16
11 changed files with 11 additions and 10 deletions

View file

@ -83,11 +83,11 @@ editor_backup_extension=~
editor_filesize_threshold=64M
editor_stop_format_chars=-+*\\,.;:&>
mcview_eof=
skin=dracula256
skin=modarin256
[Layout]
output_lines=0
left_panel_size=52
left_panel_size=92
top_panel_size=0
message_visible=true
keybar_visible=true

View file

@ -1 +0,0 @@
sudo canonical-livepatch status --verbose

View file

@ -1,2 +1,5 @@
git remote add upstream https://github.com/sorin-ionescu/prezto.git
git remote -v
#!/bin/bash
if [[ "$PWD" = "$HOME/.zprezto" ]]; then
git remote add upstream https://github.com/sorin-ionescu/prezto.git
git remote -v
fi

View file

@ -1,5 +1,5 @@
#this command changes the git repo from HTTPS to SSH so you can use the key instead of typing in your password all the time.
USER=steveokard
USER=sc-idevops
if [ -n "$1" ]
then
git remote set-url origin git@github.com:$USER/$1.git

View file

@ -1 +0,0 @@
sudo apt install sysstat vnstat iotop iftop bwm-ng htop munin

View file

@ -1,7 +1,7 @@
#!/bin/sh
if [ $(id -u) -ne 0 ]
then echo "Please run as root"
exit 1
then echo "Please run as root"
exit 1
fi
if [ -z "$1" ]
@ -9,6 +9,6 @@ then
echo "Please provide a number to set swappiness value!" && exit 2
else
sudo echo "vm.swappiness="$1 >> /etc/sysctl.conf
sudo sysctl -p
sudo sysctl -p
fi