Rarity sniper/300/301 aliases
scp videos from phone.
This commit is contained in:
15
dot_config/fish/functions/discord-burner.fish
Normal file
15
dot_config/fish/functions/discord-burner.fish
Normal file
@@ -0,0 +1,15 @@
|
||||
function discord-burner
|
||||
# echo nordvpn connect ca1$argv[1] && curl ifconfig.me
|
||||
# nordvpn connect ca1$argv[1] && \
|
||||
# nordvpn connect ca10$argv[1]
|
||||
nordvpn connect
|
||||
curl ifconfig.me
|
||||
if test (count $argv) -gt 1
|
||||
firefox -P discord-$argv[2] $argv[1] &
|
||||
else
|
||||
firefox -P discord-$argv[1] &
|
||||
end
|
||||
# for i in (seq $argv[1] $argv[2])
|
||||
# firefox -P discord-$i $argv[3] &
|
||||
# end
|
||||
end
|
||||
3
dot_config/fish/functions/dump-rarity-check.fish
Normal file
3
dot_config/fish/functions/dump-rarity-check.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function dump-rarity-check
|
||||
pg_dump -U rarity_check rarity_check > $argv[1].sql
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
function git-push-new-gitea
|
||||
git remote add origin ssh://git@kevin-mok.com:399/Kevin-Mok/$argv[1].git
|
||||
and git push --set-upstream origin master
|
||||
and git push --set-upstream origin main
|
||||
end
|
||||
|
||||
13
dot_config/fish/functions/refresh-config-task.fish
Normal file
13
dot_config/fish/functions/refresh-config-task.fish
Normal file
@@ -0,0 +1,13 @@
|
||||
function refresh-config
|
||||
chezmoi apply
|
||||
and echo 'Applied chezmoi.'
|
||||
# and tmux source-file ~/.tmux.conf
|
||||
# and echo 'Sourced tmux config.'
|
||||
|
||||
sync-shortcuts
|
||||
echo 'Synced shortcuts.'
|
||||
source ~/.config/fish/key_abbr.fish > /dev/null
|
||||
and echo 'Sourced shortcuts.'
|
||||
and echo 'Reloading fish.'
|
||||
and exec fish
|
||||
end
|
||||
7
dot_config/fish/functions/scp-vid.fish
Normal file
7
dot_config/fish/functions/scp-vid.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function scp-vid
|
||||
set dest_dir "/mnt/linux-files/Videos/personal-fortnite-games/review"
|
||||
if test $argv[1] = 'pogo'
|
||||
set dest_dir "/mnt/linux-files/Videos/pokemon-go"
|
||||
end
|
||||
scp -P 8022 192.168.0.18:/data/data/com.termux/files/home/storage/dcim/\'Screen\ recordings\'/$argv[2] $dest_dir
|
||||
end
|
||||
@@ -1,5 +1,4 @@
|
||||
function task-delete
|
||||
task $argv[1] delete
|
||||
and task sync
|
||||
and task
|
||||
end
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
function task-done
|
||||
task $argv[1] done
|
||||
and task sync
|
||||
and task
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user