don't use modeline hack
parent
78d59e9434
commit
69b50ee944
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
# launch tmux if we're in an interactive terminal emulator
|
# launch tmux if we're in an interactive terminal emulator
|
||||||
if status is-interactive && not status is-login && test -z "$TMUX"
|
if status is-interactive && not status is-login && test -z "$TMUX"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
# copy regular files
|
# copy regular files
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
bind --user \ch backward-char
|
bind --user \ch backward-char
|
||||||
bind --user \cl forward-char
|
bind --user \cl forward-char
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function build-hosts -d 'Builds /etc/hosts'
|
function build-hosts -d 'Builds /etc/hosts'
|
||||||
cd $_agw_dir_src/hosts
|
cd $_agw_dir_src/hosts
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function cheat.sh -d 'Grabs a sheet from cheat.sh' -a arg
|
function cheat.sh -d 'Grabs a sheet from cheat.sh' -a arg
|
||||||
curl cheat.sh/$arg
|
curl cheat.sh/$arg
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function crtolf -d 'Converts all CR=EOL files to LF=EOL'
|
function crtolf -d 'Converts all CR=EOL files to LF=EOL'
|
||||||
for f in (find . -type f)
|
for f in (find . -type f)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function find-no-album-artist -d "Finds files which don't have an album artist"
|
function find-no-album-artist -d "Finds files which don't have an album artist"
|
||||||
set filter 'pan=mono|c0=0.5*FL+-0.5*FR,silenceremove=start_periods=1:detection=peak'
|
set filter 'pan=mono|c0=0.5*FL+-0.5*FR,silenceremove=start_periods=1:detection=peak'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function find-stereo -d 'Finds files that are stereo'
|
function find-stereo -d 'Finds files that are stereo'
|
||||||
set filter 'pan=mono|c0=0.5*FL+-0.5*FR,silenceremove=start_periods=1:detection=peak'
|
set filter 'pan=mono|c0=0.5*FL+-0.5*FR,silenceremove=start_periods=1:detection=peak'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function flac2mp3 -d 'Converts FLAC files to MP3'
|
function flac2mp3 -d 'Converts FLAC files to MP3'
|
||||||
for f in ./*.flac
|
for f in ./*.flac
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function generate-grub -d 'Generates and installs GRUB'
|
function generate-grub -d 'Generates and installs GRUB'
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
set -x HOMEBREW_NO_ANALYTICS 1
|
set -x HOMEBREW_NO_ANALYTICS 1
|
||||||
set -x HOMEBREW_INSTALL_BADGE 'OK'
|
set -x HOMEBREW_INSTALL_BADGE 'OK'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function emit-srcinfo -d 'Emits .SRCINFO'
|
function emit-srcinfo -d 'Emits .SRCINFO'
|
||||||
makepkg --printsrcinfo > .SRCINFO
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function megadl-all -d 'Downloads all files in ~/dl'
|
function megadl-all -d 'Downloads all files in ~/dl'
|
||||||
megadl (cat ~/dl)
|
megadl (cat ~/dl)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function fish_prompt
|
function fish_prompt
|
||||||
set _stat $status
|
set _stat $status
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function ql -d 'Changes directory to a quicklink' -a name
|
function ql -d 'Changes directory to a quicklink' -a name
|
||||||
if not set -q quicklink_$name name
|
if not set -q quicklink_$name name
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function rebuild -d 'Builds an AUR package'
|
function rebuild -d 'Builds an AUR package'
|
||||||
$_agw_dir_scripts/rebuild.rkt $argv
|
$_agw_dir_scripts/rebuild.rkt $argv
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function show-colors -d "Displays all of the terminal colors"
|
function show-colors -d "Displays all of the terminal colors"
|
||||||
# hashmaps? what are those!? :D - fish
|
# hashmaps? what are those!? :D - fish
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function vis-transfer -d 'Shows how a transfer is doing with pv' -a name
|
function vis-transfer -d 'Shows how a transfer is doing with pv' -a name
|
||||||
tail -f "$name" | pv > /dev/null
|
tail -f "$name" | pv > /dev/null
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function pull-vim-plugin -d 'Updates all vim plugins in the current directory'
|
function pull-vim-plugin -d 'Updates all vim plugins in the current directory'
|
||||||
cd $argv[1]
|
cd $argv[1]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function vm-macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
|
function vm-macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
|
||||||
switch "$arch"
|
switch "$arch"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function vm-nextemu -d "Frontend to Previous" -a cfg
|
function vm-nextemu -d "Frontend to Previous" -a cfg
|
||||||
set config ~/.previous/previous.cfg
|
set config ~/.previous/previous.cfg
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function vm-qemu -d "Frontend to QEMU"
|
function vm-qemu -d "Frontend to QEMU"
|
||||||
set cfg $argv[1]
|
set cfg $argv[1]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function vnc -d 'Runs x11vnc, always'
|
function vnc -d 'Runs x11vnc, always'
|
||||||
while true
|
while true
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
if not test "$DISPLAY"
|
if not test "$DISPLAY"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
function notify
|
function notify
|
||||||
notify-send -a sharenix -i dialog-information $argv
|
notify-send -a sharenix -i dialog-information $argv
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
source "$_agw_dir_scripts/sharenix"
|
source "$_agw_dir_scripts/sharenix"
|
||||||
run_spectacle -a
|
run_spectacle -a
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
source "$_agw_dir_scripts/sharenix"
|
source "$_agw_dir_scripts/sharenix"
|
||||||
run_spectacle -m
|
run_spectacle -m
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
source "$_agw_dir_scripts/sharenix"
|
source "$_agw_dir_scripts/sharenix"
|
||||||
run_spectacle -r
|
run_spectacle -r
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/Alpine/standard-3.10.1-x86_64.iso"
|
set _install "$_vm_media/Linux/Alpine/standard-3.10.1-x86_64.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/Arch/2018.08.01-x86_64.iso"
|
set _install "$_vm_media/Linux/Arch/2018.08.01-x86_64.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/CRUX/3.5.iso"
|
set _install "$_vm_media/Linux/CRUX/3.5.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/CentOS/7-x86_64-DVD-1810.iso"
|
set _install "$_vm_media/Linux/CentOS/7-x86_64-DVD-1810.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/Fedora/Workstation-Live-x86_64-30-1.2.iso"
|
set _install "$_vm_media/Linux/Fedora/Workstation-Live-x86_64-30-1.2.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/BSD/NetBSD/NetBSD-8.1-amd64.iso"
|
set _install "$_vm_media/BSD/NetBSD/NetBSD-8.1-amd64.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/Void/live-x86_64-musl-20181111.iso"
|
set _install "$_vm_media/Linux/Void/live-x86_64-musl-20181111.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch i386
|
set _arch i386
|
||||||
set _install "$_vm_media/MS Windows/2000 Pro/5.00.2195.iso"
|
set _install "$_vm_media/MS Windows/2000 Pro/5.00.2195.iso"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch i386
|
set _arch i386
|
||||||
set _boot "$_vm_media/Boot Disks/Win/98SE.img"
|
set _boot "$_vm_media/Boot Disks/Win/98SE.img"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
# vim: syntax=fish:
|
|
||||||
|
|
||||||
set _arch x86_64
|
set _arch x86_64
|
||||||
set _install "$_vm_media/Linux/elementaryOS/5.0-stable.20181016.iso"
|
set _install "$_vm_media/Linux/elementaryOS/5.0-stable.20181016.iso"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# vim: syntax=fish:
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
for opt in $_vm_args
|
for opt in $_vm_args
|
||||||
switch "$opt"
|
switch "$opt"
|
||||||
|
|
Loading…
Reference in New Issue