rc

Update rifle config and add symlink creation for Ranger

Author
Maarten 'Vngngdn' Vangeneugden
Date
Oct. 23, 2017, 1:40 p.m.
Hash
2c3d3234b45a2734be512ef9544c4cad6ba37091
Parent
2a0c4d5bbaee23d45509efaa66a6f4fb505ceda2
Modified files
create-symlinks.sh
ranger/rifle.conf

create-symlinks.sh

6 additions and 0 deletions.

View changes Hide changes
1
1
# directory and the locations where they are ought to be found.
2
2
# Run this file in the repository's directory, otherwise the files will not be
3
3
# found!
4
4
5
5
# Store the directory of this script (line from
6
6
# https://stackoverflow.com/a/246128)
7
7
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
8
9
9
function makeAndChange {
10
10
	mkdir $1
11
11
	cd $1
12
12
}
13
13
14
14
# In case it doesn't exist yet:
15
15
mkdir ~/.config
16
16
17
17
# i3
18
18
makeAndChange ~/.config/i3
19
19
ln -s $DIR/i3/config config
20
20
cd $DIR
21
21
22
22
# Polybar
23
23
makeAndChange ~/.config/polybar
24
24
ln -s $DIR/polybar/config config
25
25
cd $DIR
26
26
27
27
# ZSH
28
28
cd ~
29
29
ln -s $DIR/.zshrc .zshrc
30
30
ln -s $DIR/.zlogin .zlogin
31
31
cd $DIR
32
32
33
33
# X11 and Urxvt
34
34
cd ~
35
35
ln -s $DIR/.Xdefaults .Xdefaults
36
36
37
37
# GNU Emacs
38
38
ln -s $DIR/.spacemacs .spacemacs
39
39
40
40
# Neovim
41
41
makeAndChange ~/.config/nvim
42
42
ln -s $DIR/.vimrc init.vim
43
43
cd $DIR
44
44
+
45
# Ranger
+
46
makeAndChange ~/.config/ranger
+
47
ln -s $DIR/ranger/rc.conf rc.conf
+
48
ln -s $DIR/ranger/rifle.conf rifle.conf
+
49
cd $DIR
+
50

ranger/rifle.conf

1 addition and 1 deletion.

View changes Hide changes
1
-
ext 
+
1
ext zip = unzip "$@"