-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases
63 lines (51 loc) · 1.89 KB
/
.aliases
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
# My alias
alias tmux='tmux -u'
alias vim=nvim
alias cd2='cd ../../'
alias cd3='cd ../../../'
alias cd4='cd ../../../../'
alias cd5='cd ../../../../../'
# First, Install gitui
# https://github.com/extrawurst/gitui
alias gu='gitui'
# First, Install lazydocker
# https://github.com/jesseduffield/lazydocker
alias lzd='lazydocker'
# Install rainbows stream
alias tw='rainbowstream'
# Clipboards
alias cs="xclip -selection clipboard" # copy to system wide clipboard (register +)
alias vs="xclip -o -selection clipboard" # paste from system wide clipboard (equivalent to `v -selection clipboard`)
# For Ubuntu
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
#Youtube alias
# We need to install yt-dlp binary to our machine
# Link: https://write.corbpie.com/downloading-youtube-videos-and-playlists-with-yt-dlp/
# Single Video
alias yt-dl-b="yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'"
# Download best qualiy mp3 from Youtube
alias yt-dl-mp3='yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata'
# Complete Channel Download
alias yt-dl-ch="yt-dlp -f 'bv*[height<=1080]+ba' --download-archive videos.txt -o '%(channel)s/%(title)s.%(ext)s'"
# Playlist Download
alias yt-dl-pl="yt-dlp -f 'bv*[height<=1080]+ba' --download-archive videos.txt -o '%(channel)s/%(playlist)s/%(title)s.%(ext)s'"
export PATH=$PATH:/usr/local/go/bin:/home/om/.cargo/bin:/home/om/go/bin
export EDITOR="/usr/local/bin/nvim"
# Disabled for Mac
# alias ls='ls --hyperlink=auto --color=auto'
alias ls='ls --color=auto'
# General TaskWarrior commands
alias t='task'
alias tm='task modify'
alias to='task overdue'
alias tn='task next +READY'
alias tnu="task next urgency \> ${urgencyPrio}"
alias ta='task add'
alias td='task done'
alias tp='task projects'
alias tt='task tags'
alias tdel='task delete'
alias tan='task annotate'
alias tl='task log'
alias tac='task active'