-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.bashvi
74 lines (65 loc) · 2.16 KB
/
Makefile.bashvi
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
##########################################################################
#
# Dezi's environment mock ups.
#
all: mockup.bash mockup.vi local
##########################################################################
#
# Mock up bash + vi
#
~/.bashrc.orig:
if [ -f "~/.bashrc.orig" ]; then exit; fi
touch ~/.bashrc
cp ~/.bashrc ~/.bashrc.orig
echo "alias ll='ls -al'" >> ~/.bashrc
echo "alias du='du -h'" >> ~/.bashrc
echo "alias df='df -h'" >> ~/.bashrc
echo "alias psg='ps -eaf | grep -v grep | grep'" >> ~/.bashrc
mockup.bash: ~/.bashrc.orig
~/.vimrc.orig:
if [ -f "~/.vimrc.orig" ]; then exit; fi
touch ~/.vimrc
cp ~/.vimrc ~/.vimrc.orig
echo "set tabstop=4" >> ~/.vimrc
mockup.vi: ~/.vimrc.orig
##########################################################################
#
# /usr/local directories.
#
/usr/local:
sudo mkdir -p /usr/local/
sudo mkdir -p /usr/local/etc/
sudo mkdir -p /usr/local/src/
sudo mkdir -p /usr/local/include/
sudo mkdir -p /usr/local/lib/
sudo mkdir -p /usr/local/games/
sudo mkdir -p /usr/local/lib64/
sudo mkdir -p /usr/local/lib64/perl5/
sudo mkdir -p /usr/local/libexec/
sudo mkdir -p /usr/local/share/
sudo mkdir -p /usr/local/share/man/
sudo mkdir -p /usr/local/share/man/man2x/
sudo mkdir -p /usr/local/share/man/man7x/
sudo mkdir -p /usr/local/share/man/man3x/
sudo mkdir -p /usr/local/share/man/man8x/
sudo mkdir -p /usr/local/share/man/man6x/
sudo mkdir -p /usr/local/share/man/man9/
sudo mkdir -p /usr/local/share/man/man7/
sudo mkdir -p /usr/local/share/man/man5x/
sudo mkdir -p /usr/local/share/man/man1x/
sudo mkdir -p /usr/local/share/man/man1/
sudo mkdir -p /usr/local/share/man/man6/
sudo mkdir -p /usr/local/share/man/man5/
sudo mkdir -p /usr/local/share/man/man2/
sudo mkdir -p /usr/local/share/man/man9x/
sudo mkdir -p /usr/local/share/man/man8/
sudo mkdir -p /usr/local/share/man/man3/
sudo mkdir -p /usr/local/share/man/mann/
sudo mkdir -p /usr/local/share/man/man4/
sudo mkdir -p /usr/local/share/man/man4x/
sudo mkdir -p /usr/local/share/info/
sudo mkdir -p /usr/local/share/perl5/
sudo mkdir -p /usr/local/share/applications/
sudo mkdir -p /usr/local/sbin/
sudo mkdir -p /usr/local/bin/
local: /usr/local