Browse Source

Update symlinks

remotes/remote_mirror_0048a893dc9c9faa373a1b34fba08204/arch
Andrew Zah 1 year ago
parent
commit
9db0247b3e
Signed by: Andrew Zah <zah@andrewzah.com> GPG Key ID: 0AE942445EB70FAA
5 changed files with 144 additions and 32 deletions
  1. 1
    0
      .gitignore
  2. 1
    0
      zsh/aliases.zsh
  3. 0
    20
      zsh/exports.zsh
  4. 6
    12
      zsh/zsh-path.zsh
  5. 136
    0
      zsh/zsh_history.zsh

+ 1
- 0
.gitignore View File

@@ -1 +1,2 @@
1 1
 .DS_Store
2
+zsh/secret-exports.zsh

+ 1
- 0
zsh/aliases.zsh View File

@@ -1,3 +1,4 @@
1
+alias ls="ls -la"
1 2
 alias exa="exa -l"
2 3
 
3 4
 # Clojure

+ 0
- 20
zsh/exports.zsh View File

@@ -1,11 +1,8 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 # ZSH 
4
-export ZSH=/Users/andrew/.oh-my-zsh
5 4
 export UPDATE_ZSH_DAYS=1
6 5
 
7
-export PATH=$HOME/.cargo/bin:$PATH
8
-
9 6
 # Custom
10 7
 ########
11 8
 
@@ -14,16 +11,6 @@ export TERM=xterm-256color
14 11
 export GREP_OPTIONS='--color=auto'
15 12
 export GREP_COLOR='3;33'
16 13
 
17
-# This resolves issues install the mysql, postgres, and other gems with native non universal binary extensions
18
-export ARCHFLAGS='-arch x86_64'
19
-
20
-# Avoid issues with `gpg` as installed via Homebrew.
21
-# https://stackoverflow.com/a/42265848/96656
22
-export GPG_TTY=$(tty)
23
-
24
-# You may need to manually set your language environment
25
-export LANG=en_US.UTF-8
26
-
27 14
 # Preferred editor for local and remote sessions
28 15
 export EDITOR='nvim'
29 16
 
@@ -31,16 +18,9 @@ export EDITOR='nvim'
31 18
 export LANG='en_US.UTF-8';
32 19
 export LC_ALL='en_US.UTF-8';
33 20
 
34
-export LDFLAGS=-L/usr/local/opt/libxml2/lib
35
-export CPPFLAGS=-I/usr/local/opt/libxml2/include
36
-export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
37
-
38 21
 #########
39 22
 # Apps
40 23
 #########
41 24
 
42
-# local db testing
43
-export MAIN_SITE_DB_URL="postgres://kemalyst:kemalyst@localhost:5432/main_site_dev"
44
-
45 25
 # Vim FZF
46 26
 export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'

+ 6
- 12
zsh/zsh-path.zsh View File

@@ -1,14 +1,8 @@
1
-# Mac OS X uses path_helper and /etc/paths.d to preload PATH, clear it out first
2
-if [ -x /usr/libexec/path_helper ]; then
3
-    PATH=''
4
-    eval `/usr/libexec/path_helper -s`
5
-fi
1
+# Cargo / Rust
2
+export PATH="$HOME/.cargo/bin:$PATH"
6 3
 
7
-# if rbenv is present, configure it for use
8
-if which rbenv &> /dev/null; then
9
-    # Put the rbenv entry at the front of the line
10
-    export PATH="$HOME/.rbenv/bin:$PATH"
4
+# rbenv
5
+eval "$(rbenv init -)"
11 6
 
12
-    # enable shims and auto-completion
13
-    eval "$(rbenv init -)"
14
-fi
7
+# nvm
8
+source /usr/share/nvm/init-nvm.sh

+ 136
- 0
zsh/zsh_history.zsh View File

@@ -0,0 +1,136 @@
1
+: 1516917622:1;fzf
2
+: 1516917625:0;pwd
3
+: 1516917854:0;rsync
4
+: 1516917859:13;sudo pacman -S rsync
5
+: 1516917874:0;rsync
6
+: 1516918206:6;sudo systemctl enable rsync.service
7
+: 1516918221:0;sudo pacman -S sshd
8
+: 1516918224:0;sudo pacman -S ssh
9
+: 1516918226:0;ssh
10
+: 1516918240:3;sudo pacman -S openssh
11
+: 1516918397:0;sudo systemctl enable sshd.socket
12
+: 1516918428:0;sudo systemctl enable sshd@.service
13
+: 1516918462:0;sudo systemctl disable sshd.socket
14
+: 1516918475:0;sudo systemctl enable sshd.service
15
+: 1516918504:14;nvim /etc/ssh/sshd_config
16
+: 1516918520:5;sudo nvim /etc/ssh/sshd_config
17
+: 1516918535:0;sudo systemctl restart sshd.service
18
+: 1516918571:0;ls ~/Desktop
19
+: 1516918583:0;tree ~
20
+: 1516918596:78;fg
21
+: 1516918677:8;ssh-keygen
22
+: 1516918687:1;ssh-keygen -h
23
+: 1516918692:27;man ssh-keygen
24
+: 1516918734:19;ssh-keygen -t rsa -b 4096 -C "zah@andrewzah.com"
25
+: 1516918770:0;eval "$(ssh-agent -s)"
26
+: 1516918779:3;ssh-add ~/.ssh/id_rsa
27
+: 1516918784:0;git
28
+: 1516918822:7;mpw -t max github.com
29
+: 1516918831:7;mpw -t max github.com
30
+: 1516918845:5;mpw -t max github.com
31
+: 1516918859:23;nvim ~/.mpw.d/Andrew\ Zah.mpsites.json
32
+: 1516918910:0;rm ~/.mpw.d/=pYPxZk2w=cp2b987vgE.mpsites.json
33
+: 1516918913:1;fg
34
+: 1516918916:9;mpw -t max github.com
35
+: 1516918968:4;git clone git@github.com:azah/cowapi.git
36
+: 1516918999:0;git config --global user.name "Andrew Zah"
37
+: 1516919009:0;git config --global user.email "zah@andrewzah.com"
38
+: 1516919041:0;ls ~/.gitconfig
39
+: 1516919045:0;cat ~/.gitconfig
40
+: 1516919082:0;cat ~/.ssh/id_rsa.pub
41
+: 1516919113:1;git clone git@github.com:azah/cowapi.git
42
+: 1516919116:0;ls
43
+: 1516919120:0;rm -rf cowapi
44
+: 1516919121:0;l
45
+: 1516919125:1;rm 10-monitor.conf
46
+: 1516919128:0;ls
47
+: 1516919473:0;lsblk -f
48
+: 1516919485:0;lsblk -f
49
+: 1516919493:0;lsblk -f
50
+: 1516919496:0;lsblk -f
51
+: 1516919500:0;lsblk -f
52
+: 1516919514:0;mkdir /mnt/usb1
53
+: 1516919517:4;sudo mkdir /mnt/usb1
54
+: 1516919529:0;mount /dev/sde1 /mnt/usb1
55
+: 1516919540:0;arch-chroot /mnt /bin/bash
56
+: 1516919547:10;su root
57
+: 1516919560:14;sudo su root
58
+: 1516919579:0;cd /mnt/usb1
59
+: 1516919579:0;l
60
+: 1516919580:0;ls
61
+: 1516919591:0;mv *.asc ~/Desktop
62
+: 1516919593:0;sudo mv *.asc ~/Desktop
63
+: 1516919595:0;ls
64
+: 1516919600:0;cd ~/Desktop
65
+: 1516919616:1;sudo pacman -S gnupg
66
+: 1516919624:1;gpg
67
+: 1516919629:0;gpg --import public.asc
68
+: 1516919640:6;gpg --import secrets.asc
69
+: 1516919658:3;fg
70
+: 1516919678:0;gpg -K
71
+: 1516919760:0;git config --global commit.gpgsign true
72
+: 1516919779:0;git config --global user.signingkey A3AE4504
73
+: 1516919798:0;pwd
74
+: 1516919799:0;cd ..
75
+: 1516919801:0;mkdir Sync
76
+: 1516919803:0;cd Sync
77
+: 1516919923:0;pwd
78
+: 1516919926:0;tree .
79
+: 1516919930:0;l
80
+: 1516919932:0;ls
81
+: 1516919941:0;cd ..
82
+: 1516919945:0;cd Sync
83
+: 1516919946:3;rm -rf *
84
+: 1516919950:0;ls
85
+: 1516919951:0;cd ..
86
+: 1516919952:0;ls
87
+: 1516920002:0;ls
88
+: 1516920004:0;tree Sync
89
+: 1516920026:1;tree Sync
90
+: 1516920078:0;cd ~
91
+: 1516920107:1;git clone git@github.com:azah/dotfiles.git
92
+: 1516920111:0;l
93
+: 1516920112:0;ls
94
+: 1516920140:0;ls
95
+: 1516920163:0;cd dotfiles
96
+: 1516920169:0;ln .ctags ~/.ctags
97
+: 1516920173:0;cat .ctags
98
+: 1516920176:0;cd ..
99
+: 1516920182:0;echo "a" >> .ctags
100
+: 1516920188:0;cat dotfiles/.ctags
101
+: 1516920193:2;nvim .ctags
102
+: 1516920257:0;mkdir .zsh
103
+: 1516920261:0;cd dotfiles
104
+: 1516920265:0;cd zsh
105
+: 1516920265:0;l
106
+: 1516920266:0;ls
107
+: 1516920270:0;cat aliases.zsh
108
+: 1516920304:0;ls
109
+: 1516920308:0;cat colors.zsh
110
+: 1516920331:0;ln colors.zsh ~/.zsh/colors.zsh
111
+: 1516920336:0;cat exports.zsh
112
+: 1516920386:62;nvim ~/.zsh/exports.sh
113
+: 1516920450:0;l
114
+: 1516920450:0;ls
115
+: 1516920453:0;cat functions.zsh
116
+: 1516920486:0;ln functions.zsh ~/.zsh/functions.sh
117
+: 1516920490:0;ls
118
+: 1516920492:0;cat history.zsh
119
+: 1516920507:0;ln history.zsh ~/.zsh/history.zsh
120
+: 1516920510:0;cat setopt.zsh
121
+: 1516920534:0;ln setopt.zsh ~/.zsh/setopt.zsh
122
+: 1516920538:0;cat zsh-path.zsh
123
+: 1516920570:0;mv ~/.zshrc ~/.zshrc.bak
124
+: 1516920581:0;\
125
+\
126
+
127
+: 1516920582:0;cd ..
128
+: 1516920588:0;ln .zshrc ~/.zshrc
129
+: 1516920593:0;. ~/.zshrc
130
+: 1516920598:0;cd ..
131
+: 1516920604:0;cd .zsh
132
+: 1516920605:0;l
133
+: 1516920606:0;ls
134
+: 1516920611:0;mv exports.sh exports.zsh
135
+: 1516920620:0;mv functions.sh functions.zsh
136
+: 1516920626:0;mv zsh_history zsh_history.zsh

Loading…
Cancel
Save