-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevon-gedit.sh
More file actions
executable file
·45 lines (36 loc) · 1.14 KB
/
devon-gedit.sh
File metadata and controls
executable file
·45 lines (36 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# ---------------------------------------------------------------------------- #
# GEDIT AWESOMENESS #
# ---------------------------------------------------------------------------- #
cd `dirname $0`
SRC=./gedit
#=== PLUGINS ===#
PLUGINS=~/.gnome2/gedit/plugins
if [ ! -d $PLUGINS ]; then
mkdir -p $PLUGINS
fi
cp -R $SRC/plugins/* $PLUGINS/
echo "grabbing gedit plugins from package manager"
yes | sudo aptitude install gedit-plugins
#=== LANGUAGE-SPECS ===#
SPECS=~/.local/share/gtksourceview-2.0/language-specs
if [ ! -d $SPECS ]; then
mkdir -p $SPECS
fi
cp -R $SRC/lang-specs/* $SPECS/
#=== SNIPPETS ===#
SNIPPETS=~/.gnome2/gedit/snippets
if [ ! -d $SNIPPETS ]; then
mkdir -p $SNIPPETS
fi
cp -R $SRC/snippets/* $SNIPPETS/
#=== STYLES ===#
STYLES=~/.gnome2/gedit/styles
if [ ! -d $STYLES ]; then
mkdir -p $STYLES
fi
cp -R $SRC/styles/* $STYLES/
echo "Plugins => ~/.gnome2/gedit/plugins, /usr/lib/gedit-2/plugins"
echo "Language => ~/.local/share/gtksourceview-2.0/language-specs"
echo "Snippets => ~/.gnome2/gedit/snippets"
echo "Themes => ~/.gnome2/gedit/styles"