mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 11:12:39 +00:00
Update fish aliases
This commit is contained in:
parent
87c5cda14e
commit
1c86492153
1 changed files with 6 additions and 6 deletions
|
|
@ -7,9 +7,12 @@ set -x EDITOR "nvim"
|
||||||
alias icloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
|
alias icloud="cd ~/Library/Mobile\ Documents/com~apple~CloudDocs"
|
||||||
alias pi="ssh pi@pi.misva.me -p 1733"
|
alias pi="ssh pi@pi.misva.me -p 1733"
|
||||||
alias gcp="ssh mikkelsvartveit@gcp.misva.me"
|
alias gcp="ssh mikkelsvartveit@gcp.misva.me"
|
||||||
alias cloud="ssh ubuntu@cloud.misva.me"
|
alias mcloud-push="rsync -auzP --exclude='.*' /Volumes/mcloud/ mcloud:./"
|
||||||
alias cloud-status="rsync -auzPn --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ && rsync -auzPn --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
alias mcloud-pull="rsync -auzP --exclude='.*' mcloud:./ /Volumes/mcloud/"
|
||||||
alias cloud-sync="rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ && rsync -auzP --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
alias mcloud-status="mcloud-push --dry-run && mcloud-pull --dry-run"
|
||||||
|
alias mcloud-sync="mcloud-push && mcloud-pull"
|
||||||
|
alias mcloud-photos-pull="pnpm dlx icloudpd --directory '/Volumes/mcloud/Backup/iCloud Photos (all)/' --username mikkel.svartveit@gmail.com --until-found 10"
|
||||||
|
alias mcloud-developer-dump="cd ~/Developer/ && fd --type f --hidden --exclude .git --exclude node_modules | zip -@ /Volumes/mcloud/Backup/Developer/Developer-$(date +%Y-%m-%d).zip"
|
||||||
alias zshrc="nvim ~/.zshrc"
|
alias zshrc="nvim ~/.zshrc"
|
||||||
alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -"
|
alias fishconfig="cd ~/.config/fish && nvim config.fish && cd -"
|
||||||
alias nvimconfig="cd ~/.config/nvim && nvim && cd -"
|
alias nvimconfig="cd ~/.config/nvim && nvim && cd -"
|
||||||
|
|
@ -39,9 +42,6 @@ abbr ghv "gh repo view --web"
|
||||||
abbr pr "gh pr checkout"
|
abbr pr "gh pr checkout"
|
||||||
abbr prc "gh pr create --web"
|
abbr prc "gh pr create --web"
|
||||||
abbr gli "nvim (git rev-parse --show-toplevel)/.git/info/exclude"
|
abbr gli "nvim (git rev-parse --show-toplevel)/.git/info/exclude"
|
||||||
abbr cloud-push "rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/"
|
|
||||||
abbr cloud-pull "rsync -auzP --exclude=.DS_Store ubuntu@cloud.misva.me:~/misvaCloud/ '/Volumes/Samsung T7/misvaCloud/'"
|
|
||||||
abbr cloud-purge "rsync -auzP --exclude=.DS_Store '/Volumes/Samsung T7/misvaCloud/' ubuntu@cloud.misva.me:~/misvaCloud/ --delete --dry-run"
|
|
||||||
abbr caf "caffeinate -d"
|
abbr caf "caffeinate -d"
|
||||||
|
|
||||||
function ghid
|
function ghid
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue