arnaucube
arnaucube/configsPublic Self-hosted repository
configs/README.md
README.mdRaw
 1# configs
 2config files
 3
 4## List of utilities for terminal
 5- bat https://github.com/sharkdp/bat
 6- rg https://github.com/BurntSushi/ripgrep
 7- tig https://github.com/jonas/tig
 8- gitg
 9```
10alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
11```
12- exa https://github.com/ogham/exa
13```
14alias ls='exa'
15alias lst='exa -l -snew'
16```
17- fd https://github.com/sharkdp/fd
18- jq https://github.com/stedolan/jq
19- tmux
20- nvim
21- mpsyt (mps-youtube) https://github.com/mps-youtube/mps-youtube
22- fzf https://github.com/junegunn/fzf
23
24
25---
26
27
28- Vim: `.vimrc`
29	- put `vimconfigbase.vim` into `~/`
30	- put `.vimrc` into `~/`
31	- install https://github.com/junegunn/vim-plug
32	- inside vim, execute: `:PlugInstall`
33- NeoVim: `init.vim`
34	- put `vimconfigbase.vim` into `~/`
35	- in `.config/nvim/init.vim`
36	- install https://github.com/junegunn/vim-plug
37	- inside neovim, execute: `:PlugInstall`
38	- for the vim-go, execute: :GoInstallBinaries
39- `.bashrc`
40	- in `~/home/.bashrc` directory
41	- execute `source .bashrc`
42- Tmux: `.tmux.conf`
43	- in `~/home/.tmux.conf` directory
44- Keyboard remap `.Xmodmap`
45	- in `~/home/.Xmodmap`
46	- changes will be applied each session start
47	- to apply changes in the current session use `xmodmap ~/.Xmodmap`
48- Redshift `redshift.conf`
49	- in `~/.config/redshift.conf`
50- i3 config files `/i3` and `/i3status` directories go inside `~/.config/` directory
51- alacritty: copy `alacritty` dir into `~/.config/` directory
52
53
54### server side
55- radicale `config`
56	- in `~/.conf/radicale/config`
57
58## swap file
59```bash
60# create swap file
61> dd if=/dev/zero of=./swapfile bs=1GB count=40
62
63# add permisions
64> chmod 600 ./swapfile
65
66# format the swapfile
67> mkswap ./swapfile
68
69# enable swap on swapfile
70> swapon ./swapfile
71
72# check that it is enabled
73> swapon --show
74
75
76# make swap persistent:
77# add the following line at the end of the /etc/fstab file
78~/swapfile swap swap defaults 0 0
79```