Add sh syntax highlighting
This commit is contained in:
@@ -91,76 +91,78 @@ All packages that are manually installed via pacman -S, dependencies not include
|
|||||||
### Configuration:
|
### Configuration:
|
||||||
|
|
||||||
Below are all the system changes that were made.<br>
|
Below are all the system changes that were made.<br>
|
||||||
|
$ = command<br>
|
||||||
<> = variable<br>
|
<> = variable<br>
|
||||||
() = action
|
() = action
|
||||||
|
|
||||||
Predictable network interface names:
|
Predictable network interface names:
|
||||||
|
```
|
||||||
ln -s /dev/null /etc/systemd/network/99-default.link
|
$ ln -s /dev/null /etc/systemd/network/99-default.link
|
||||||
|
```
|
||||||
Give wheel users sudo permission:
|
Give wheel users sudo permission:
|
||||||
|
```sh
|
||||||
nano /etc/sudoers
|
$ nano /etc/sudoers
|
||||||
(add)Defaults insults
|
(add)Defaults insults
|
||||||
(uncomment)%wheel ALL=(ALL) ALL
|
(uncomment)%wheel ALL=(ALL) ALL
|
||||||
|
```
|
||||||
Add user:
|
Add user:
|
||||||
|
```sh
|
||||||
useradd -m -G wheel -s /bin/bash <username>
|
$ useradd -m -G wheel -s /bin/bash <username>
|
||||||
passwd <username>
|
$ passwd <username>
|
||||||
|
```
|
||||||
Installing pacaur:
|
Installing pacaur:
|
||||||
|
```sh
|
||||||
|
$ gpg --recv-keys <pubkey>
|
||||||
|
|
||||||
gpg --recv-keys <pubkey>
|
$ git clone cower
|
||||||
|
$ cd cower
|
||||||
|
$ makepkg -si
|
||||||
|
$ cd ..
|
||||||
|
|
||||||
git clone cower
|
$ git clone pacaur
|
||||||
cd cower
|
$ cd pacaur
|
||||||
makepkg -si
|
$ makepkg -si
|
||||||
cd ..
|
$ cd ..
|
||||||
|
|
||||||
git clone pacaur
|
|
||||||
cd pacaur
|
|
||||||
makepkg -si
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
pacaur -S cower pacaur
|
|
||||||
rm -rf cower pacaur
|
|
||||||
|
|
||||||
|
$ pacaur -S cower pacaur
|
||||||
|
$ rm -rf cower pacaur
|
||||||
|
```
|
||||||
Switch shell to zsh:
|
Switch shell to zsh:
|
||||||
|
```sh
|
||||||
chsh -s /bin/zsh
|
$ chsh -s /bin/zsh
|
||||||
|
```
|
||||||
Pacman colors:
|
Pacman colors:
|
||||||
|
```sh
|
||||||
nano /etc/pacman.conf
|
$ nano /etc/pacman.conf
|
||||||
(uncomment)Color
|
(uncomment)Color
|
||||||
|
```
|
||||||
Git:
|
Git:
|
||||||
|
```sh
|
||||||
git config --global user.email "<email address>"
|
$ git config --global user.email "<email address>"
|
||||||
git config --global user.name "<name>"
|
$ git config --global user.name "<name>"
|
||||||
|
```
|
||||||
Tlp:
|
Tlp:
|
||||||
|
```sh
|
||||||
|
$ systemctl enable tlp.service
|
||||||
|
$ systemctl enable tlp-sleep.service
|
||||||
|
|
||||||
systemctl enable tlp.service
|
$ nano /etc/default/tlp
|
||||||
systemctl enable tlp-sleep.service
|
|
||||||
|
|
||||||
nano /etc/default/tlp
|
|
||||||
(edit)SOUND_POWER_SAVE_ON_BAT=0
|
(edit)SOUND_POWER_SAVE_ON_BAT=0
|
||||||
|
```
|
||||||
Trim:
|
Trim:
|
||||||
|
```sh
|
||||||
systemctl enable fstrim.timer
|
$ systemctl enable fstrim.timer
|
||||||
|
```
|
||||||
Clock internet sync:
|
Clock internet sync:
|
||||||
|
```sh
|
||||||
timedatectl set-ntp true
|
$ timedatectl set-ntp true
|
||||||
|
```
|
||||||
Mail gpg:
|
Mail gpg:
|
||||||
|
```sh
|
||||||
gpg --decrypt <backup.pgp> | gpg --import
|
$ gpg --decrypt <backup.pgp> | gpg --import
|
||||||
gpg --search-keys <email address>
|
$ gpg --search-keys <email address>
|
||||||
|
```
|
||||||
Network:
|
Network:
|
||||||
|
```sh
|
||||||
systemctl enable netctl-auto@wlan0.service
|
$ systemctl enable netctl-auto@wlan0.service
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user