Removed files and foldes that did not make sense

This commit is contained in:
Eduardo Cueto-Mendoza 2024-12-23 18:22:45 +00:00
parent 45aeddb69b
commit 6ac9f1a4a0
Signed by: TastyPancakes
GPG Key ID: 941DF56C7242C3F1
9 changed files with 159 additions and 165 deletions

View File

@ -1,97 +1,183 @@
switch (uname) switch (uname)
case FreeBSD NetBSD DragonFly case FreeBSD NetBSD DragonFly
echo Hi Beastie! echo Hi Beastie!
case Linux case Linux
echo Hi Tux! #echo Hi Tux!
fish_vi_key_bindings
# PATH
# Local PATH
fish_add_path -a $HOME/.local/bin
# Mason PATH
fish_add_path -a $HOME/.local/share/nvim/mason/bin
# sbin PATH
fish_add_path -a /sbin
fish_add_path -a /usr/sbin
# Rust
fish_add_path -a /usr/local/share/cargo/bin
# Android
fish_add_path -a /usr/share/android-tools
# Java
#fish_add_path -a /usr/local/jdk-21/bin
# Ltex-LS
#fish_add_path -a /usr/local/share/ltex-ls-16.0.0/bin
# pyenv
fish_add_path -a /usr/share/pyenv/bin
pyenv init - | source
status --is-interactive; and pyenv virtualenv-init - | source
# VARIABLES
# Rust
set -gx CARGO_HOME '/usr/local/share/cargo'
# ssh and gpg
set -x GPG_TTY (tty)
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null
# Editor
set -gx EDITOR 'nvim'
# Manpager
set -gx PAGER 'nvim +Man!'
# Term for ssh
#set -gx TERM 'xterm-256color'
# ALIAS
# convinience
alias doas="sudo"
alias reboot="sudo reboot"
alias shutdown="sudo shutdown"
# Neovim
alias vi="nvim"
alias vim="nvim"
# mutt
#alias mutt='neomutt'
# rsync
alias rsync='rsync -h -v -r -P -p -t --stats'
# wget folder
alias wget_f='wget -r -np -R "index.html*"'
# btop
alias top='btop'
# git signed
function git --wraps git
switch $argv[1]
case commit
/usr/bin/git commit -S
case tag
/usr/bin/git tag -S
case '*'
/usr/bin/git $argv
end
end
case Darwin case Darwin
#echo Hi Hexley! #echo Hi Hexley!
fish_vi_key_bindings fish_vi_key_bindings
set ID (id -u) set ID (id -u)
# Start tmux # Start tmux
if not set -q TMUX; and [ $ID != 0 ] if not set -q TMUX; and [ $ID != 0 ]
echo "Setting tmux" echo "Setting tmux"
set -g TMUX tmux new-session -d -s base set -g TMUX tmux new-session -d -s base
eval $TMUX eval $TMUX
tmux attach-session -d -t base tmux attach-session -d -t base
end end
# PATH # PATH
# Rust # Rust
source "$HOME/.cargo/env.fish" source "$HOME/.cargo/env.fish"
# pyenv # pyenv
#export PYENV_ROOT="$HOME/.pyenv" #export PYENV_ROOT="$HOME/.pyenv"
#export PATH="$PYENV_ROOT/bin:$PATH" #export PATH="$PYENV_ROOT/bin:$PATH"
pyenv init - | source pyenv init - | source
status --is-interactive; and pyenv virtualenv-init - | source status --is-interactive; and pyenv virtualenv-init - | source
# VARIABLES # VARIABLES
if [ $ID != 0 ] if [ $ID != 0 ]
# ssh and gpg # ssh and gpg
set -x GPG_TTY (tty) set -x GPG_TTY (tty)
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket) set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null gpg-connect-agent updatestartuptty /bye > /dev/null
end end
# Editor # Editor
export EDITOR='nvim' set -x EDITOR='nvim'
# Manpager # Manpager
export PAGER='nvim +Man!' set -x PAGER='nvim +Man!'
# Term for ssh # Term for ssh
#export TERM='xterm-256color' #export TERM='xterm-256color'
# Homebrew # Homebrew
export HOMEBREW_NO_AUTO_UPDATE=1 set -x HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_ENV_HINTS=1 set -x HOMEBREW_NO_ENV_HINTS=1
# DBUS for zathura # DBUS for zathura
#export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/(id -u) #export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/(id -u)
#export DBUS_SESSION_BUS_ADDRESS='unix:path='$DBUS_LAUNCHD_SESSION_BUS_SOCKET #export DBUS_SESSION_BUS_ADDRESS='unix:path='$DBUS_LAUNCHD_SESSION_BUS_SOCKET
#if pgrep -x dbus-daemon &> /dev/null #if pgrep -x dbus-daemon &> /dev/null
# printf (_ "%sdbus-daemon%s is running\n") (set_color red) (set_color normal) # printf (_ "%sdbus-daemon%s is running\n") (set_color red) (set_color normal)
#else #else
# #echo "dbus-daemon is not running" # #echo "dbus-daemon is not running"
# dbus-daemon --fork --session --address=$DBUS_SESSION_BUS_ADDRESS # dbus-daemon --fork --session --address=$DBUS_SESSION_BUS_ADDRESS
#end #end
# ALIAS # ALIAS
# convinience # convinience
alias doas='sudo' alias doas='sudo'
# ls # ls
alias ls='colorls' alias ls='colorls'
# neovim # neovim
alias vi='nvim' alias vi='nvim'
alias vim='nvim' alias vim='nvim'
# mutt # mutt
#alias mutt='neomutt' #alias mutt='neomutt'
# rsync # rsync
alias rsync='rsync -h -v -r -P -p -t --stats' alias rsync='rsync -h -v -r -P -p -t --stats'
# wget folder # wget folder
alias wget_f='wget -r -np -R "index.html*"' alias wget_f='wget -r -np -R "index.html*"'
# btop # btop
alias top='btop' alias top='btop'
# git signed # git signed
function git --wraps git function git --wraps git
switch $argv[1] switch $argv[1]
case commit case commit
/usr/bin/git commit -S /usr/bin/git commit -S
case tag case tag
/usr/bin/git tag -S /usr/bin/git tag -S
case '*' case '*'
/usr/bin/git $argv /usr/bin/git $argv
end end
end end
case '*' case '*'

View File

@ -1,33 +0,0 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export PYENV_ROOT:/Users/administrator/\x2epyenv
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:blue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_vi_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/Users/administrator/\x2elocal/share/nvim/mason/bin\x1e/Users/administrator/\x2elocal/bin\x1e/opt/homebrew/opt/ruby/bin\x1e/opt/homebrew/sbin\x1e/opt/homebrew/bin

View File

@ -1 +0,0 @@
use-keyboxd

View File

@ -1 +0,0 @@
v:1:

View File

@ -1,11 +0,0 @@
# List of allowed ssh keys. Only keys present in this file are used
# in the SSH protocol. The ssh-add tool may add new entries to this
# file to enable them; you may also add them manually. Comment
# lines, like this one, as well as empty lines are ignored. Lines do
# have a certain length limit but this is not serious limitation as
# the format of the entries is fixed and checked by gpg-agent. A
# non-comment line starts with optional white spaces, followed by the
# keygrip of the key given as 40 hex digits, optionally followed by a
# caching TTL in seconds, and another optional field for arbitrary
# flags. Prepend the keygrip with an '!' mark to disable it.

Binary file not shown.

View File

View File

@ -1,45 +0,0 @@
#Host eduardo-cueto.com
# HostName eduardo-cueto.com
# User deb-ser-adm
# IdentityFile ~/.ssh/id_admin
#Host bsd-talk.com
# IdentityFile ~/.ssh/id_server
#Host github.com
# IdentityFile ~/.ssh/id_gittest
Host unix-talk.com
IdentityFile ~/.ssh/id_rsa_yubikey.pub
Port 22
#Host unix-talk.com
# IdentityFile ~/.ssh/id_nitro_1
# Port 33
#Host fd98:f0b:88f:10::1
# IdentityFile ~/.ssh/id_nitro_1
# Port 22
#Host 2a02:8084:d6be:1298::1
# IdentityFile ~/.ssh/id_openwrt
# Port 22
#Host unix-talk.com
#IdentityFile ~/.ssh/id_secure
#Host bsd-talk.com
#IdentityFile ~/.ssh/id_local_server_2
#Host 216.238.68.117
# IdentityFile ~/.ssh/id_admin
Host unix-talk.com
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa_yubikey.pub
Port 33
Host unix-talk.com
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa_yubikey.pub
Port 22

View File

@ -1 +0,0 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCprFFmFGk8tPme6drgEjrC4ZZvhKEM524A82aX+2l+ikWN83++4RLQe5IoOqE8S4J2wBv5JLsds8IJDigwaVPYOaRNse3cRnBId+ESdDsYT4d5hikYv0/JORpooynCX4ortBq0Us++IB3bwyZiRk3uS7SprDmUioTHtup1CO1yEWR9SppZjOOU/YYoeVAuLzLPL4TC64zwrUKrxDq/Q30db30Jt5/4VXoeAfL62LA8sCckEtpyhro5QHagzKypXkkOlp7CUPK1eUmVt1v6SIXMmw7R1X52SvTauMavWgiV1kW7bJlE89PJ5hHoPnfHEHMhIQs5JMvXGkSCwVsaKRcOSg9lII9Py4sCy3ky9l/7Xi/WTfG5xORZ5C3ea9oJcDwP3I5fIJ6cyr7W3R2Q7KhaT4NoNHbuq0kY/EfeQKHkaqWqJPEogg/1SQm6/oPUmg2hPId99+E3H/EAGkwxE8ZkfsAXbPO5mmZlxHKzLtA6MyQ8XKNnVi9rCPyhSbuRhN+HE7QaTvFue5mKtJqgTJfRz3l2IuN6oYXTh5fMnhM7P8BeZulZf2dg7ypKb9nncdjOVCt3sxLBwz2cO2vOVswjaxR/H+tqP+kCpmKtqoYa8PeMCkSvl7kxvdS26vjjfF6pUInb+SXF799IPbYY4vPfLSH1gk7VRa8z/DqvhHPCDw== cardno:000F_63793DE6