mirror of https://github.com/Phantop/dotfiles
Initial commit
This commit is contained in:
commit
94b558a822
|
@ -0,0 +1,49 @@
|
|||
! special
|
||||
#define dracula #282a36
|
||||
#define adapta #222D32
|
||||
#define ubuntu #300A24
|
||||
|
||||
*.foreground: #f8f8f2
|
||||
*.background: dracula
|
||||
! black
|
||||
*.color0: #282a36
|
||||
*.color8: #4d4d4d
|
||||
|
||||
! red
|
||||
*.color1: #ff5555
|
||||
*.color9: #ff6e67
|
||||
|
||||
! green
|
||||
*.color2: #50fa7b
|
||||
*.color10: #5af78e
|
||||
|
||||
! yellow
|
||||
*.color3: #f1fa8c
|
||||
*.color11: #f4f99d
|
||||
|
||||
! blue
|
||||
*.color4: #3c82e8
|
||||
*.color12: #3c82e8
|
||||
|
||||
! magenta
|
||||
*.color5: #bd93f9
|
||||
*.color13: #caa9fa
|
||||
|
||||
! cyan
|
||||
*.color6: #8be9fd
|
||||
*.color14: #9aedfe
|
||||
|
||||
! white
|
||||
*.color7: #bfbfbf
|
||||
*.color15: #e6e6e6
|
||||
|
||||
*.color16: #b45bcf
|
||||
*.color17: #00f769
|
||||
*.color18: #3a3c4e
|
||||
*.color19: #4d4f68
|
||||
*.color20: #62d6e8
|
||||
*.color21: #f1f2f8
|
||||
|
||||
st.shell: /usr/bin/fish
|
||||
st.xfps: 600
|
||||
st.font: Hack:pixelsize=14:antialias=true:autohint=true
|
|
@ -0,0 +1,91 @@
|
|||
# Clean and minimalistic Bash prompt
|
||||
# Author: Artem Sapegin, sapegin.me
|
||||
#
|
||||
# Inspired by: https://github.com/sindresorhus/pure & https://github.com/dreadatour/dotfiles/blob/master/.bash_profile
|
||||
#
|
||||
# Notes:
|
||||
# - $local_username - username you don’t want to see in the prompt - can be defined in ~/.bashlocal : `local_username="admin"`
|
||||
# - Colors ($RED, $GREEN) - defined in ../tilde/bash_profile.bash
|
||||
#
|
||||
|
||||
|
||||
# User color
|
||||
case $(id -u) in
|
||||
0) user_color="$RED" ;; # root
|
||||
*) user_color="$GREEN" ;;
|
||||
esac
|
||||
|
||||
# Symbols
|
||||
prompt_symbol="❯"
|
||||
prompt_clean_symbol="☀ "
|
||||
prompt_dirty_symbol="☂ "
|
||||
prompt_venv_symbol="☁ "
|
||||
|
||||
function prompt_command() {
|
||||
# Local or SSH session?
|
||||
local remote=
|
||||
[ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] && remote=1
|
||||
|
||||
# Git branch name and work tree status (only when we are inside Git working tree)
|
||||
local git_prompt=
|
||||
if [[ "true" = "$(git rev-parse --is-inside-work-tree 2>/dev/null)" ]]; then
|
||||
# Branch name
|
||||
local branch="$(git symbolic-ref HEAD 2>/dev/null)"
|
||||
branch="${branch##refs/heads/}"
|
||||
|
||||
# Working tree status (red when dirty)
|
||||
local dirty=
|
||||
# Modified files
|
||||
git diff --no-ext-diff --quiet --exit-code --ignore-submodules 2>/dev/null || dirty=1
|
||||
# Untracked files
|
||||
[ -z "$dirty" ] && test -n "$(git status --porcelain)" && dirty=1
|
||||
|
||||
# Format Git info
|
||||
if [ -n "$dirty" ]; then
|
||||
git_prompt=" $RED$prompt_dirty_symbol$branch$NOCOLOR"
|
||||
else
|
||||
git_prompt=" $GREEN$prompt_clean_symbol$branch$NOCOLOR"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Virtualenv
|
||||
local venv_prompt=
|
||||
if [ -n "$VIRTUAL_ENV" ]; then
|
||||
venv_prompt=" $BLUE$prompt_venv_symbol$(basename $VIRTUAL_ENV)$NOCOLOR"
|
||||
fi
|
||||
|
||||
# Only show username if not default
|
||||
local user_prompt=
|
||||
[ "$USER" != "$local_username" ] && user_prompt="$user_color$USER$NOCOLOR"
|
||||
|
||||
# Show hostname inside SSH session
|
||||
local host_prompt=
|
||||
[ -n "$remote" ] && host_prompt="@$YELLOW$HOSTNAME$NOCOLOR"
|
||||
|
||||
# Show delimiter if user or host visible
|
||||
local login_delimiter=
|
||||
[ -n "$user_prompt" ] || [ -n "$host_prompt" ] && login_delimiter=":"
|
||||
|
||||
# Format prompt
|
||||
first_line="$user_prompt$host_prompt$login_delimiter$WHITE\w$NOCOLOR$git_prompt$venv_prompt"
|
||||
# Text (commands) inside \[...\] does not impact line length calculation which fixes stange bug when looking through the history
|
||||
# $? is a status of last command, should be processed every time prompt prints
|
||||
second_line="\`if [ \$? = 0 ]; then echo \[\$CYAN\]; else echo \[\$RED\]; fi\`\$prompt_symbol\[\$NOCOLOR\] "
|
||||
PS1="\n$first_line\n$second_line"
|
||||
|
||||
# Multiline command
|
||||
PS2="\[$CYAN\]$prompt_symbol\[$NOCOLOR\] "
|
||||
|
||||
# Terminal title
|
||||
local title="$(basename "$PWD")"
|
||||
[ -n "$remote" ] && title="$title \xE2\x80\x94 $HOSTNAME"
|
||||
echo -ne "\033]0;$title"; echo -ne "\007"
|
||||
}
|
||||
|
||||
# Show awesome prompt only if Git is istalled
|
||||
command -v git >/dev/null 2>&1 && PROMPT_COMMAND=prompt_command
|
||||
|
||||
bind 'set show-all-if-ambiguous on'
|
||||
bind 'TAB:menu-complete'
|
||||
|
||||
source ~/.sensibash
|
|
@ -0,0 +1,25 @@
|
|||
# MAIN DISK #
|
||||
set -gx D /mnt/LocalDiskD
|
||||
|
||||
# SESSION MANAGER #
|
||||
switch (tty)
|
||||
case "/dev/tty1"
|
||||
tbsm
|
||||
end
|
||||
|
||||
# PATHS #
|
||||
set -gx PLAN9 $D/Source/plan9port
|
||||
set -gx PATH $PATH $PLAN9/bin
|
||||
set -gx ANDROID_HOME $D/Source/android/sdk
|
||||
set -gx fish_user_paths $ANDROID_HOME/platform-tools /usr/local/bin /usr/sbin /sbin /usr/local/sbin
|
||||
|
||||
# PROGRAM SETTINGS #
|
||||
set -gx EDITOR nvim
|
||||
set -gx FZF_DEFAULT_COMMAND 'ff'
|
||||
set -gx PAGER "nvim -c 'set ft=man' -"
|
||||
|
||||
# AUTOJUMP #
|
||||
source /usr/share/autojump/autojump.fish
|
||||
|
||||
# LOAD XRESOURCES #
|
||||
xrdb ~/.Xresources
|
|
@ -0,0 +1,18 @@
|
|||
switch (tty)
|
||||
case "/dev/tty1"
|
||||
tbsm
|
||||
end
|
||||
# THEME PURE #
|
||||
set fish_function_path /home/glados/.config/fish/functions/theme-pure $fish_function_path
|
||||
set -U fish_user_paths /usr/local/bin
|
||||
|
||||
set -Ux ANDROID_HOME /mnt/LocalDiskD/Source/android/sdk
|
||||
set -Ux EDITOR nvim
|
||||
set -Ux D /mnt/LocalDiskD
|
||||
set -Ux FZF_DEFAULT_COMMAND 'ff'
|
||||
set -Ux PAGER "nvim -c 'set ft=man' -"
|
||||
|
||||
|
||||
source /usr/share/autojump/autojump.fish
|
||||
|
||||
xrdb ~/.Xresources
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.XATzCf/D.fish @ line 2
|
||||
function D
|
||||
cd $D
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.Ff7fjo/ac.fish @ line 2
|
||||
function ac
|
||||
asciinema rec -i 1 $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.KHZB83/base64d.fish @ line 2
|
||||
function base64d
|
||||
echo "$argv" | base64 -d | xclip -selection clipboard
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.59f8PN/bat.fish @ line 1
|
||||
function bat
|
||||
mog $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.yDUjKI/bb.fish @ line 1
|
||||
function bb
|
||||
busybox $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.pL85ov/botwdata.fish @ line 2
|
||||
function botwdata
|
||||
cd $D/Games/Emulators/Cemu/botwData
|
||||
end
|
|
@ -0,0 +1,10 @@
|
|||
# Defined in /tmp/fish.XYALhp/build.fish @ line 2
|
||||
function build
|
||||
s printf \
|
||||
g pull
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
cmake .
|
||||
make
|
||||
s make install
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.hYM5bH/cdir.fish @ line 1
|
||||
function cdir
|
||||
mkdir $argv; cd $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.gtdPle/cf.fish @ line 2
|
||||
function cf
|
||||
cd (ffd $argv | head -1)
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.w7O4D3/cfo.fish @ line 1
|
||||
function cfo
|
||||
cf $argv
|
||||
co
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.A12SFF/citra.fish @ line 1
|
||||
function citra
|
||||
cd $D/Games/Emulators/citra
|
||||
./citra-qt
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.HDntoQ/citradl.fish @ line 2
|
||||
function citradl
|
||||
fruitdl $argv citra
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.UViMBm/citradlc.fish @ line 1
|
||||
function citradlc
|
||||
citradl canary
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
# Defined in /tmp/fish.cXbpuG/clean.fish @ line 2
|
||||
function clean
|
||||
s printf \
|
||||
updatefonts
|
||||
se clean -y
|
||||
se dc -y
|
||||
se rmo -y
|
||||
se rdb -y
|
||||
s journalctl --vacuum-size=1K
|
||||
bleachbit -c (bleachbit -l|grep -v system.free_disk_space | grep -v transmission)
|
||||
s bleachbit -c (bleachbit -l|grep -v system.free_disk_space | grep -v transmission)
|
||||
rm -r ~/.cache/*
|
||||
rm -r ~/.local/share/nvim/swap/
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
# Defined in /tmp/fish.3MFBrD/clip.fish @ line 1
|
||||
function clip
|
||||
bash -c 'if [[ -t 0 && -z "$1" ]]; then
|
||||
# output contents of clipboard
|
||||
xclip -out -selection clipboard || exit 1
|
||||
elif [[ -n "$1" ]]; then
|
||||
# copy file contents to clipboard
|
||||
xclip -in -selection clipboard < "$1" || exit 1
|
||||
else
|
||||
# copy stdin to clipboard
|
||||
xclip -in -selection clipboard <&0 || exit 1
|
||||
fi'
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 1
|
||||
function cmuswin
|
||||
st -e cmus
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.OmYykn/co.fish @ line 1
|
||||
function co
|
||||
xdg-open (pwd)
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 2
|
||||
function compact
|
||||
VBoxManage modifymedium --compact $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.NhxLMl/compress.fish @ line 2
|
||||
function compress
|
||||
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on (pwd)/(basename $argv | rev | cut -f 2- -d '.' | rev).7z $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.N4Fl24/cpu.fish @ line 1
|
||||
function cpu
|
||||
lscpu | grep MHz; printf '\n\n'; sensors
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
# Defined in /tmp/fish.EI2lVJ/cpugov.fish @ line 2
|
||||
function cpugov
|
||||
set state ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
set newState ""
|
||||
echo -e "The current state is [ $state ]"
|
||||
if [ $state != "performance" ]
|
||||
s -i cpupower frequency-set -g performance >/dev/null
|
||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
else
|
||||
s cpupower frequency-set -g powersave >/dev/null
|
||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
end
|
||||
echo -e "Now in *** $newState *** mode"
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.nmdZHX/debinds.fish @ line 1
|
||||
function debinds
|
||||
fish_default_key_bindings
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.qhdqSf/discord.fish @ line 2
|
||||
function discord
|
||||
qb https://discordapp.com/channels/@me
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.A1YqAp/dl.fish @ line 1
|
||||
function dl
|
||||
cd ~/Downloads/
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.3CACfC/e.fish @ line 1
|
||||
function e
|
||||
eopkg $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.ZDkQk3/eh.fish @ line 1
|
||||
function eh
|
||||
eopkg history $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.QM6yoH/etch.fish @ line 1
|
||||
function etch
|
||||
s dd if=$argv[1] |pv| s dd of=$argv[2]
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.of4bzw/ex.fish @ line 1
|
||||
function ex
|
||||
exit $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.j8Cyly/fastcopy.fish @ line 2
|
||||
function fastcopy
|
||||
rsync -avhcP --no-compress $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.wuzN87/fastcp.fish @ line 1
|
||||
function fastcp
|
||||
fastcopy $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.hwFxZE/fastdl.fish @ line 2
|
||||
function fastdl
|
||||
aria2c --file-allocation=none -c -x 16 -s 16 $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.qcykC8/fe.fish @ line 1
|
||||
function fe
|
||||
funced $argv
|
||||
end
|
|
@ -0,0 +1,6 @@
|
|||
# Defined in /tmp/fish.1ioyyu/ff.fish @ line 2
|
||||
function ff
|
||||
fd\
|
||||
-E sys -E caches -E cache -E .cache -E graphicPacks -E proc -E dosdevices -E .git\
|
||||
-H -d 5 -L -i $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.QEMFDN/ffd.fish @ line 2
|
||||
function ffd
|
||||
ff -t d $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.Dmucz1/fff.fish @ line 2
|
||||
function fff
|
||||
eval $D/Source/fff/fff $argv
|
||||
end
|
|
@ -0,0 +1,6 @@
|
|||
# Defined in /tmp/fish.TKXhcA/ffl.fish @ line 1
|
||||
function ffl
|
||||
fd\
|
||||
-E sys -E caches -E cache -E .cache -E graphicPacks -E proc -E dosdevices -E .git\
|
||||
-H -d 5 -t l -i $argv
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.IaHetC/filter.fish @ line 1
|
||||
function filter
|
||||
funced ff
|
||||
funcsave ff
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.iUTHMQ/fish_user_key_bindings.fish @ line 2
|
||||
function fish_user_key_bindings
|
||||
bind \co 'ranger-cd'
|
||||
bind \eo 'cd (ffd | fzf)'
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.Wq2WEU/flushswap.fish @ line 2
|
||||
function flushswap
|
||||
s swapoff -a
|
||||
s swapon -a
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.za3oIv/foobar2000.fish @ line 2
|
||||
function foobar2000
|
||||
clear
|
||||
wine $D/Tools/Windows/foobar2000/foobar2000.exe ./ & disown
|
||||
end
|
|
@ -0,0 +1,18 @@
|
|||
# Defined in /tmp/fish.tbkHRu/fruitdl.fish @ line 2
|
||||
function fruitdl
|
||||
set emu $argv[2]
|
||||
cd $D/Games/Emulators/$emu
|
||||
set file (wget -O- -o /dev/tty github.com/$emu-emu/$emu-$argv[1]/releases/latest| grep -o -m1 $emu-emu/$emu-$argv[1]/releases/download/$argv[1]-[0-9]\*/$emu-linux-[0-9]\*-[0-9a-f]\* | head -1)
|
||||
|
||||
if grep $file emuver
|
||||
echo "$emu is already updated"
|
||||
else
|
||||
rm -r $argv[1]
|
||||
fastdl https://www.github.com/$file.7z
|
||||
7z x (basename $file).7z
|
||||
echo $file > emuver
|
||||
rm (basename $file).7z
|
||||
end
|
||||
|
||||
eval $emu
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.bDHEx5/fs.fish @ line 1
|
||||
function fs
|
||||
funcsave $argv
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.5KyO71/fuckgit.fish @ line 2
|
||||
function fuckgit
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.NlxV5h/g.fish @ line 1
|
||||
function g
|
||||
git $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.82JlO9/ga.fish @ line 1
|
||||
function ga
|
||||
git commit -a $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.Hll5zs/gb.fish @ line 1
|
||||
function gb
|
||||
git branch $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.YaN3mS/gc.fish @ line 1
|
||||
function gc
|
||||
git checkout $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.6oIQ1v/gg.fish @ line 1
|
||||
function gg
|
||||
git clone $argv
|
||||
end
|
|
@ -0,0 +1,6 @@
|
|||
# Defined in /tmp/fish.e5MYKq/giveme.fish @ line 2
|
||||
function giveme
|
||||
for i in (ff)
|
||||
s chown glados $i
|
||||
end
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.qBXhXo/gl.fish @ line 1
|
||||
function gl
|
||||
git log $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.XGxM7O/gp.fish @ line 1
|
||||
function gp
|
||||
git pull $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.iJlPcC/gu.fish @ line 2
|
||||
function gu
|
||||
git push $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.bSgqRb/hardinfo.fish @ line 2
|
||||
function hardinfo
|
||||
inxi -SPARM -GCDN -v1 -xGCRS -Fxz
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.J0WeiJ/initvim.fish @ line 2
|
||||
function initvim
|
||||
nvim ~/.config/nvim/init.vim
|
||||
nvim +PlugInstall +PlugUpdate +PlugUpgrade +PlugClean +q +q +q +q +q
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.k3zVYQ/jdownlaoder.fish @ line 1
|
||||
function jdownloader
|
||||
$D/Tools/JDownloader
|
||||
java -jar JDownloader.jar
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.flDLcB/jstest.fish @ line 1
|
||||
function jstest
|
||||
jstest-gtk
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.oaVFnP/keybinds.fish @ line 2
|
||||
function keybinds
|
||||
funced fish_user_key_bindings
|
||||
funcsave fish_user_key_bindings
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.vJXlVP/kj.fish @ line 1
|
||||
function kj
|
||||
kill -9 (jobs -p | grep -v Process)
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.yaEzA7/l.fish @ line 1
|
||||
function l
|
||||
ls $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.G9V44P/lc.fish @ line 2
|
||||
function lc
|
||||
lolcat $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.OrcZVF/less.fish @ line 1
|
||||
function less
|
||||
eval $PAGER $argv
|
||||
end
|
|
@ -0,0 +1,8 @@
|
|||
# Defined in /tmp/fish.RHlyrP/lmao.fish @ line 2
|
||||
function lmao
|
||||
for i in (seq 1 37)
|
||||
st &
|
||||
end
|
||||
sleep 1.15
|
||||
kj
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.AmoAq1/lntree.fish @ line 1
|
||||
function lntree
|
||||
cp -as $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.JncNtd/loadme.fish @ line 2
|
||||
function loadme
|
||||
cat /usr/bin/* /usr/lib32/*.so /usr/lib64/*.so > /dev/null; exit
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.8wDs2h/lsa.fish @ line 1
|
||||
function lsa
|
||||
ls -a $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.UrNTqQ/lscolors.fish @ line 1
|
||||
function lscolors
|
||||
wget -O- https://i.stack.imgur.com/6kknG.png | feh -
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.lQPGYW/m.fish @ line 1
|
||||
function m
|
||||
murder $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.scyW8e/mc.fish @ line 1
|
||||
function mc
|
||||
minecraft
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.VgI3wL/mcr.fish @ line 1
|
||||
function mcr
|
||||
mcrcon $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.9GKs9x/mcrcon.fish @ line 2
|
||||
function mcrcon
|
||||
eval $D/Games/Minecraft/Server/mcrcon -t -H localhost -P 25575 -p password $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.Wai4Lr/mcs.fish @ line 1
|
||||
function mcs
|
||||
mcserver
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.e745iu/mcserver.fish @ line 1
|
||||
function mcserver
|
||||
minecraftserver
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.NwUwdx/megacrypt.fish @ line 1
|
||||
function megacrypt
|
||||
qb (echo "$argv" | base64 -d)
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.xJeaH3/megalinks.fish @ line 2
|
||||
function megalinks
|
||||
megadl (echo "$argv" | base64 -d)
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.PcB5Yz/melonDS.fish @ line 1
|
||||
function melonDS
|
||||
cd $D/Games/Emulators/melonDS/
|
||||
command melonDS $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.Y3P4Il/minecraft.fish @ line 1
|
||||
function minecraft
|
||||
cd ~/.minecraft; java -jar launcher.jar
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.iAzJE2/minecraftserver.fish @ line 2
|
||||
function minecraftserver
|
||||
cd $D/Games/Minecraft/Server
|
||||
java -Xmx8G -Xms128M -XX:+UseConcMarkSweepGC -jar server.jar nogui
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.URcWLL/mkc.fish @ line 1
|
||||
function mkc
|
||||
mkdir $argv; cd $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.OwF41R/mp3tag.fish @ line 2
|
||||
function mp3tag
|
||||
wine $D/Tools/Windows/mp3tag/Mp3tag.exe (pwd); disown
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.upxjs6/murder.fish @ line 2
|
||||
function murder
|
||||
killall $argv -s SIGKILL
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.oczbtc/nf.fish @ line 1
|
||||
function nf
|
||||
neofetch $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.vRBZKZ/off.fish @ line 1
|
||||
function off
|
||||
shutdown $argv; exit
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.oFpyb9/offh.fish @ line 2
|
||||
function offh
|
||||
off (math "60*"$argv)
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.ocvVOF/pg.fish @ line 1
|
||||
function pg
|
||||
s mtr $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.e1WPCz/pia-manager.fish @ line 2
|
||||
function pia-manager
|
||||
eval $D/Source/pia/pia-manager.py
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.msZ5xK/pia.fish @ line 2
|
||||
function pia
|
||||
pia-manager $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.2thzVW/piaport.fish @ line 2
|
||||
function piaport
|
||||
eval $D/Source/pia-manager/port-forwarding.sh
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.bcQQcq/procon.fish @ line 2
|
||||
function procon
|
||||
cd $D/Source/nintendo/procon/
|
||||
s (pwd)/procon_driver -s -i ly -i ry -i dy
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.m8G4hc/qb.fish @ line 1
|
||||
function qb
|
||||
qutebrowser $argv --target auto
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
# Defined in /tmp/fish.UJ4EF5/ranger-cd.fish @ line 2
|
||||
function ranger-cd
|
||||
set tempfile (mktemp -t tmp.XXXXXX)
|
||||
ranger --choosedir=$tempfile
|
||||
cd (cat $tempfile)
|
||||
rm -f $tempfile
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.yzHlpb/re.fish @ line 1
|
||||
function re
|
||||
systemctl reboot -i
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
# Defined in /tmp/fish.SbwYNN/rpcs3.fish @ line 1
|
||||
function rpcs3
|
||||
cd $D/Games/Emulators/rpcs3/
|
||||
wget -O- -o /dev/tty https://rpcs3.net/download | grep -o -m1 https://rpcs3.net/cdn/builds/rpcs3-v.\*_linux64.AppImage
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.6nxaK9/rufus.fish @ line 1
|
||||
function rufus
|
||||
windows2usb $arv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.S2dHo9/s.fish @ line 2
|
||||
function s
|
||||
sudo $argv
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.RG36Tm/se.fish @ line 1
|
||||
function se
|
||||
s eopkg $argv
|
||||
end
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue