mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	don't add to fish_user_paths if it's already in there
This commit is contained in:
		
							parent
							
								
									6ead74a27b
								
							
						
					
					
						commit
						1662945d9c
					
				@ -18,7 +18,7 @@ end
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
set user_paths ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin
 | 
					set user_paths ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin
 | 
				
			||||||
for path in $user_paths
 | 
					for path in $user_paths
 | 
				
			||||||
  if test -d $path
 | 
					  if test -d $path; and not echo $fish_user_paths | grep -q "$path"
 | 
				
			||||||
    set -x fish_user_paths $fish_user_paths $path
 | 
					    set -x fish_user_paths $fish_user_paths $path
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										3
									
								
								fish/.config/fish/functions/insult.fish
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								fish/.config/fish/functions/insult.fish
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					function insult
 | 
				
			||||||
 | 
						shuf -n1 ~/insults.txt 
 | 
				
			||||||
 | 
					end
 | 
				
			||||||
@ -45,3 +45,4 @@ Where did you learn to type?
 | 
				
			|||||||
Are you on drugs?
 | 
					Are you on drugs?
 | 
				
			||||||
You type like I drive.
 | 
					You type like I drive.
 | 
				
			||||||
Do you think like you type?
 | 
					Do you think like you type?
 | 
				
			||||||
 | 
					ur cute
 | 
				
			||||||
 | 
				
			|||||||
@ -23,6 +23,7 @@ CL = "buffer clear"
 | 
				
			|||||||
CLOSE = "buffer close"
 | 
					CLOSE = "buffer close"
 | 
				
			||||||
CS = "quote chanserv"
 | 
					CS = "quote chanserv"
 | 
				
			||||||
EXIT = "quit"
 | 
					EXIT = "quit"
 | 
				
			||||||
 | 
					flip = "/exec -o flip table $*"
 | 
				
			||||||
HS = "quote hostserv"
 | 
					HS = "quote hostserv"
 | 
				
			||||||
IG = "ignore"
 | 
					IG = "ignore"
 | 
				
			||||||
J = "join"
 | 
					J = "join"
 | 
				
			||||||
@ -38,6 +39,7 @@ N = "names"
 | 
				
			|||||||
NS = "quote nickserv"
 | 
					NS = "quote nickserv"
 | 
				
			||||||
OS = "quote operserv"
 | 
					OS = "quote operserv"
 | 
				
			||||||
Q = "query"
 | 
					Q = "query"
 | 
				
			||||||
 | 
					rainbow = "/exec -o toilet --irc --gay -f term -- $*"
 | 
				
			||||||
REDRAW = "window refresh"
 | 
					REDRAW = "window refresh"
 | 
				
			||||||
save_settings = "/autojoin --run;/layout store;/save"
 | 
					save_settings = "/autojoin --run;/layout store;/save"
 | 
				
			||||||
SAY = "msg *"
 | 
					SAY = "msg *"
 | 
				
			||||||
 | 
				
			|||||||
@ -181,7 +181,7 @@ tilde.local_hostname
 | 
				
			|||||||
tilde.usermode
 | 
					tilde.usermode
 | 
				
			||||||
tilde.command = "/oper root ${sec.data.tildenetoper}; /msg operserv login ${sec.data.pass}"
 | 
					tilde.command = "/oper root ${sec.data.tildenetoper}; /msg operserv login ${sec.data.pass}"
 | 
				
			||||||
tilde.command_delay
 | 
					tilde.command_delay
 | 
				
			||||||
tilde.autojoin = "#secret-sudoers,#opers,#meta,#team,#sudoers,#YourTilde,#bots,#music,#politics,#gopher,#tildeverse,#idlerpg,#tilderadio,#minecraft,#tildelinux,#slbr,#cosmic,#institute,#.tilde,#tildetel,#dcss,#center,#thunix,#theasylum,#minetest,#aussie,#sr.ht,#uucp,#projects,#counting,#admin secretsudoteam,youneedtoknowthepassword"
 | 
					tilde.autojoin = "#chaos,#opers,#secret-sudoers,#meta,#team,#sudoers,#YourTilde,#bots,#music,#politics,#gopher,#tildeverse,#idlerpg,#tilderadio,#minecraft,#tildelinux,#slbr,#cosmic,#institute,#.tilde,#tildetel,#dcss,#center,#thunix,#theasylum,#minetest,#aussie,#sr.ht,#uucp,#projects,#counting,#admin 57:60,youneedtoknowthepassword,secretsudoteam"
 | 
				
			||||||
tilde.autorejoin
 | 
					tilde.autorejoin
 | 
				
			||||||
tilde.autorejoin_delay
 | 
					tilde.autorejoin_delay
 | 
				
			||||||
tilde.connection_timeout
 | 
					tilde.connection_timeout
 | 
				
			||||||
@ -222,7 +222,7 @@ hashbang.local_hostname
 | 
				
			|||||||
hashbang.usermode
 | 
					hashbang.usermode
 | 
				
			||||||
hashbang.command = "/oper benharri x"
 | 
					hashbang.command = "/oper benharri x"
 | 
				
			||||||
hashbang.command_delay
 | 
					hashbang.command_delay
 | 
				
			||||||
hashbang.autojoin = "#!opers,#!,#!social,#!os,#!politics,#!support,#!git"
 | 
					hashbang.autojoin = "#!git,#!support,#!politics,#!os,#!social,#!,#!opers"
 | 
				
			||||||
hashbang.autorejoin
 | 
					hashbang.autorejoin
 | 
				
			||||||
hashbang.autorejoin_delay
 | 
					hashbang.autorejoin_delay
 | 
				
			||||||
hashbang.connection_timeout
 | 
					hashbang.connection_timeout
 | 
				
			||||||
@ -345,7 +345,7 @@ sdf.local_hostname
 | 
				
			|||||||
sdf.usermode
 | 
					sdf.usermode
 | 
				
			||||||
sdf.command
 | 
					sdf.command
 | 
				
			||||||
sdf.command_delay
 | 
					sdf.command_delay
 | 
				
			||||||
sdf.autojoin = "#helpdesk,#anonradio,#gopher,#sdf"
 | 
					sdf.autojoin = "#gopher,#sdf,#anonradio,#helpdesk [5t]:10"
 | 
				
			||||||
sdf.autorejoin
 | 
					sdf.autorejoin
 | 
				
			||||||
sdf.autorejoin_delay
 | 
					sdf.autorejoin_delay
 | 
				
			||||||
sdf.connection_timeout
 | 
					sdf.connection_timeout
 | 
				
			||||||
@ -427,7 +427,7 @@ oftc.local_hostname
 | 
				
			|||||||
oftc.usermode
 | 
					oftc.usermode
 | 
				
			||||||
oftc.command
 | 
					oftc.command
 | 
				
			||||||
oftc.command_delay
 | 
					oftc.command_delay
 | 
				
			||||||
oftc.autojoin = "#debian-devel,#fish"
 | 
					oftc.autojoin = "#fish,#debian-devel"
 | 
				
			||||||
oftc.autorejoin
 | 
					oftc.autorejoin
 | 
				
			||||||
oftc.autorejoin_delay
 | 
					oftc.autorejoin_delay
 | 
				
			||||||
oftc.connection_timeout
 | 
					oftc.connection_timeout
 | 
				
			||||||
@ -468,7 +468,7 @@ freenode.local_hostname
 | 
				
			|||||||
freenode.usermode
 | 
					freenode.usermode
 | 
				
			||||||
freenode.command
 | 
					freenode.command
 | 
				
			||||||
freenode.command_delay
 | 
					freenode.command_delay
 | 
				
			||||||
freenode.autojoin = "#weechat,##oodnet,#lobsters,#lobsters-boil,#thelounge,#gitea,#mastodon,#pleroma,#pleroma-offtopic,#oragono,#weechat-android,#git,#tilde.team,#sr.ht,#cmpwn,#ubuntu-server,#gopherproject,#bitreich-en,#znc,#nextcloud,#bitbot,#opennic 6:10"
 | 
					freenode.autojoin = "#opennic,#weechat,##oodnet,#lobsters,#lobsters-boil,#thelounge,#gitea,#mastodon,#pleroma,#pleroma-offtopic,#oragono,#weechat-android,#git,#tilde.team,#sr.ht,#cmpwn,#ubuntu-server,#gopherproject,#bitreich-en,#znc,#nextcloud,#bitbot 5:30,6:10"
 | 
				
			||||||
freenode.autorejoin
 | 
					freenode.autorejoin
 | 
				
			||||||
freenode.autorejoin_delay
 | 
					freenode.autorejoin_delay
 | 
				
			||||||
freenode.connection_timeout
 | 
					freenode.connection_timeout
 | 
				
			||||||
 | 
				
			|||||||
@ -49,6 +49,7 @@ perl.highmon.nick_prefix = "<"
 | 
				
			|||||||
perl.highmon.nick_suffix = ">"
 | 
					perl.highmon.nick_suffix = ">"
 | 
				
			||||||
perl.highmon.output = "buffer"
 | 
					perl.highmon.output = "buffer"
 | 
				
			||||||
perl.highmon.short_names = "off"
 | 
					perl.highmon.short_names = "off"
 | 
				
			||||||
 | 
					perl.rslap.slapback = "random"
 | 
				
			||||||
python.apply_corrections.check_every = "5"
 | 
					python.apply_corrections.check_every = "5"
 | 
				
			||||||
python.apply_corrections.data_timeout = "60"
 | 
					python.apply_corrections.data_timeout = "60"
 | 
				
			||||||
python.apply_corrections.message_limit = "2"
 | 
					python.apply_corrections.message_limit = "2"
 | 
				
			||||||
@ -67,7 +68,7 @@ python.buffer_autoclose.age_limit = "30"
 | 
				
			|||||||
python.buffer_autoclose.ignore = ""
 | 
					python.buffer_autoclose.ignore = ""
 | 
				
			||||||
python.buffer_autoclose.interval = "1"
 | 
					python.buffer_autoclose.interval = "1"
 | 
				
			||||||
python.check_license = "off"
 | 
					python.check_license = "off"
 | 
				
			||||||
python.completion.replace_values = "shrug=>¯\_(ツ)_/¯;;wiki=>https://tilde.team/wiki/;;lenny=>( ͡° ͜ʖ ͡°);;byobu=>https://superuser.com/a/423397/866501;;huh=>(-_-)ゞ゛;;tablefix=>┬─┬ノ( º _ ºノ);;weedoc=>https://weechat.org/files/doc/stable/weechat_user.en.html;;weekeys=>https://weechat.org/files/doc/stable/weechat_user.en.html#key_bindings;;denko=>(´・ω・`);;yuno=>ლ(́ಠ◞益◟ಠ‵ლ);;tf=>(ノಥ益ಥ)ノ彡┻━┻"
 | 
					python.completion.replace_values = "shrug=>¯\_(ツ)_/¯;;wiki=>https://tilde.team/wiki/;;lenny=>( ͡° ͜ʖ ͡°);;byobu=>https://superuser.com/a/423397/866501;;huh=>(-_-)ゞ゛;;tablefix=>┬─┬ノ( º _ ºノ);;weedoc=>https://weechat.org/files/doc/stable/weechat_user.en.html;;weekeys=>https://weechat.org/files/doc/stable/weechat_user.en.html#key_bindings;;denko=>(´・ω・`);;yuno=>ლ(́ಠ◞益◟ಠ‵ლ);;tf=>(ノಥ益ಥ)ノ彡┻━┻;;tb=>┬─┬ノ( º _ ºノ)"
 | 
				
			||||||
python.go.auto_jump = "off"
 | 
					python.go.auto_jump = "off"
 | 
				
			||||||
python.go.buffer_number = "on"
 | 
					python.go.buffer_number = "on"
 | 
				
			||||||
python.go.color_name = "black,cyan"
 | 
					python.go.color_name = "black,cyan"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user