Useful Fish Shell Functions - FZF - SSH - GIT - LOG
COMMUNITY
HOMEPAGE - https://www.fixapc.net
FORUMS - https://forum.fixapc.net
FACEBOOK - https://www.facebook.com/Fixapcdotnet
TWITTER - https://twitter.com/FIXAPCdotnet
TWITCH - https://www.twitch.tv/fixapcdotnet
YOUTUBE - https://www.youtube.com/channel/UCSvBW8e2zGNFiSUSD9qLNbQ
ODYSEE - https://odysee.com/@fixapc
TIKTOK - https://www.tiktok.com/@fixapc
DTUBE - https://d.tube/#!/c/fixapc777
VIMEO - https://vimeo.com/user151963004
DISCORD - https://discord.gg/fwaJ9V8c
PATREON - https://www.patreon.com
REQUEST A TUTORIAL - https://fixapc.net/tutorial-request
SUPPORT US
PAYPAL - https://paypal.me/FIXAPC
CASHAPP - https://cash.app/fixapc/Patreon
PATREON - https://www.patreon.com/fixapc
GITHUB - https://github.com/fixapc
#FISH FUNCTIONS#############
#SKIM RIPGREP FUNCTION
function skg
sk --ansi -i -c 'rg --color=always --line-number "{}"'
end
#FZF APT SEARCH FUNCTION
function fzfaptsearch
apt-cache search '' | sort | cut --delimiter ' ' --fields 1 | fzf --multi --cycle --reverse --preview 'apt-cache show {1}' | xargs -r sudo \$aptget install -y
end
#CHECK SYSLOG
function checksyslog
sudo cat /var/log/syslog |tail -n30| bat -l log
end
#GIT REMOVE RM
function git-remove-rm
git rm --cached \$argv
end
#CONDA SEARCH
function condasearch
conda search \$argv | awk '{print \$1}' | sort -u | rg -i -v "no|#|loading"
end
#GIT PUSH ALL
function git-pushall
git commit -am push
git push --all --force
end
#GIT ADD FILES AND PUSH ALL
function git-add-push-all
git add -A
git commit -am push
git push --all --force
end
#GIT FORCE PULL
function git-pullall-reset
git reset --hard
git pull --all --force
end
#GIT FORCE PULL
function git-pullall
git fetch --all
git pull --all --force
end
#SSH WITH X11
function sshx
ssh -XCY \$argv
end
########################################
Видео Useful Fish Shell Functions - FZF - SSH - GIT - LOG канала FIX A PC
HOMEPAGE - https://www.fixapc.net
FORUMS - https://forum.fixapc.net
FACEBOOK - https://www.facebook.com/Fixapcdotnet
TWITTER - https://twitter.com/FIXAPCdotnet
TWITCH - https://www.twitch.tv/fixapcdotnet
YOUTUBE - https://www.youtube.com/channel/UCSvBW8e2zGNFiSUSD9qLNbQ
ODYSEE - https://odysee.com/@fixapc
TIKTOK - https://www.tiktok.com/@fixapc
DTUBE - https://d.tube/#!/c/fixapc777
VIMEO - https://vimeo.com/user151963004
DISCORD - https://discord.gg/fwaJ9V8c
PATREON - https://www.patreon.com
REQUEST A TUTORIAL - https://fixapc.net/tutorial-request
SUPPORT US
PAYPAL - https://paypal.me/FIXAPC
CASHAPP - https://cash.app/fixapc/Patreon
PATREON - https://www.patreon.com/fixapc
GITHUB - https://github.com/fixapc
#FISH FUNCTIONS#############
#SKIM RIPGREP FUNCTION
function skg
sk --ansi -i -c 'rg --color=always --line-number "{}"'
end
#FZF APT SEARCH FUNCTION
function fzfaptsearch
apt-cache search '' | sort | cut --delimiter ' ' --fields 1 | fzf --multi --cycle --reverse --preview 'apt-cache show {1}' | xargs -r sudo \$aptget install -y
end
#CHECK SYSLOG
function checksyslog
sudo cat /var/log/syslog |tail -n30| bat -l log
end
#GIT REMOVE RM
function git-remove-rm
git rm --cached \$argv
end
#CONDA SEARCH
function condasearch
conda search \$argv | awk '{print \$1}' | sort -u | rg -i -v "no|#|loading"
end
#GIT PUSH ALL
function git-pushall
git commit -am push
git push --all --force
end
#GIT ADD FILES AND PUSH ALL
function git-add-push-all
git add -A
git commit -am push
git push --all --force
end
#GIT FORCE PULL
function git-pullall-reset
git reset --hard
git pull --all --force
end
#GIT FORCE PULL
function git-pullall
git fetch --all
git pull --all --force
end
#SSH WITH X11
function sshx
ssh -XCY \$argv
end
########################################
Видео Useful Fish Shell Functions - FZF - SSH - GIT - LOG канала FIX A PC
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How To Install And Use AutoFS On Debian With Direct Mounts](https://i.ytimg.com/vi/OPzckZfrTKE/default.jpg)
![Debian - Installing Python From Source](https://i.ytimg.com/vi/YMD_m48vMTI/default.jpg)
![Installing Python Direct From Python.org](https://i.ytimg.com/vi/7Np3JMJr1vs/default.jpg)
![Adding ZFS To NixOS](https://i.ytimg.com/vi/FDg9MfOUUCM/default.jpg)
![NixOS Switching From I3 To Gnome Desktop](https://i.ytimg.com/vi/vGQmSJIDlvs/default.jpg)
![Installing i3wm On NixOS](https://i.ytimg.com/vi/bC6wTWvRFGY/default.jpg)
![Installing NixOS From Scratch](https://i.ytimg.com/vi/IISDYkds0NY/default.jpg)
![Installing BlendOS With Gnome Review](https://i.ytimg.com/vi/Yh1MX0jh6e0/default.jpg)
![Installing BlendOS Linux Distro I3 Desktop](https://i.ytimg.com/vi/wo1UFyS1wK4/default.jpg)
![BlendOS A New Linux Distro To Keep An Eye On](https://i.ytimg.com/vi/oyoVxbE9mF4/default.jpg)
![Linux Kernel Optimizations For High Core Count](https://i.ytimg.com/vi/l2xZL4kwQG4/default.jpg)
![Using Xargs In Linux To Run Multiple Lines Of Commands](https://i.ytimg.com/vi/QQfr4DbYViA/default.jpg)
![Using Sed To Edit Strings In The Linux Bash Script](https://i.ytimg.com/vi/AEKzpllMG8I/default.jpg)
![FZF Apt Search Function For Fast PKG Installs](https://i.ytimg.com/vi/ySttxkTdn7A/default.jpg)
![Automated ZFS Pool Backups Over SSH Via Cronjobs](https://i.ytimg.com/vi/eTpFNAh7sHg/default.jpg)
![PCManfm Deploy Bookmarks Across Multiple Systems - UNCUT](https://i.ytimg.com/vi/tERC4I41A-Q/default.jpg)
![Libvirt Setup Shared And Static Networking](https://i.ytimg.com/vi/gx5k2ANsQmw/default.jpg)
![PCManfm Bookmark Config File Location](https://i.ytimg.com/vi/kXlbT0fOSzE/default.jpg)
![Basics Of Davinchi Resolve](https://i.ytimg.com/vi/U2ctP6mXbxA/default.jpg)
![Everything The Personal Best Search For Windows](https://i.ytimg.com/vi/oN1hncFRFyg/default.jpg)