diff options
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/.zshrc | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -14,8 +14,7 @@ export XDG_CURRENT_DESKTOP=sway | |||
14 | export MANPAGER="nvim -c 'set ft=man' - " | 14 | export MANPAGER="nvim -c 'set ft=man' - " |
15 | 15 | ||
16 | #aliases | 16 | #aliases |
17 | alias ..="cd .." | 17 | alias ..='cd ..' |
18 | alias ...="cd ../../" | ||
19 | alias l='ls --color=auto' | 18 | alias l='ls --color=auto' |
20 | alias ls='ls --color=auto' | 19 | alias ls='ls --color=auto' |
21 | alias ll='ls --color=auto -al' | 20 | alias ll='ls --color=auto -al' |
@@ -34,7 +33,6 @@ alias vim="nvim" | |||
34 | alias sudo="sudo " | 33 | alias sudo="sudo " |
35 | alias mp3dl="youtube-dl -x --audio-format mp3" | 34 | alias mp3dl="youtube-dl -x --audio-format mp3" |
36 | alias o="xdg-open" | 35 | alias o="xdg-open" |
37 | alias webm="rm ~/src/site/dst/.files && ssg5 ~/src/site/src ~/src/site/dst 'pryr\'s website' 'https://pryr.xyz'" | ||
38 | 36 | ||
39 | up() { | 37 | up() { |
40 | curl -F "file=@$*" https://0x0.st | xclip -selection clipboard | 38 | curl -F "file=@$*" https://0x0.st | xclip -selection clipboard |
@@ -52,6 +50,15 @@ rmdata() { | |||
52 | exiftool -overwrite_original -all= $* | 50 | exiftool -overwrite_original -all= $* |
53 | } | 51 | } |
54 | 52 | ||
53 | generate() { | ||
54 | rm ~/src/site/dst/.files | ||
55 | ssg5 ~/src/site/src ~/src/site/dst "pryr's website" "https://pryr.xyz" | ||
56 | } | ||
57 | |||
58 | deploy() { | ||
59 | rsync --rsync-path "sudo -u www-data rsync" -avP --delete ~/src/site/dst/ rem:site/ | ||
60 | } | ||
61 | |||
55 | # Enable colors and change prompt: | 62 | # Enable colors and change prompt: |
56 | autoload -U colors && colors | 63 | autoload -U colors && colors |
57 | fpath+=$HOME/.cache/zsh/pure | 64 | fpath+=$HOME/.cache/zsh/pure |