don't add to fish_user_paths if it's already in there

This commit is contained in:
Ben Harris 2019-03-30 17:43:55 -04:00
parent 6ead74a27b
commit 1662945d9c
6 changed files with 14 additions and 7 deletions

View File

@ -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
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
end
end

View File

@ -0,0 +1,3 @@
function insult
shuf -n1 ~/insults.txt
end

View File

@ -45,3 +45,4 @@ Where did you learn to type?
Are you on drugs?
You type like I drive.
Do you think like you type?
ur cute

View File

@ -23,6 +23,7 @@ CL = "buffer clear"
CLOSE = "buffer close"
CS = "quote chanserv"
EXIT = "quit"
flip = "/exec -o flip table $*"
HS = "quote hostserv"
IG = "ignore"
J = "join"
@ -38,6 +39,7 @@ N = "names"
NS = "quote nickserv"
OS = "quote operserv"
Q = "query"
rainbow = "/exec -o toilet --irc --gay -f term -- $*"
REDRAW = "window refresh"
save_settings = "/autojoin --run;/layout store;/save"
SAY = "msg *"

View File

@ -181,7 +181,7 @@ tilde.local_hostname
tilde.usermode
tilde.command = "/oper root ${sec.data.tildenetoper}; /msg operserv login ${sec.data.pass}"
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_delay
tilde.connection_timeout
@ -222,7 +222,7 @@ hashbang.local_hostname
hashbang.usermode
hashbang.command = "/oper benharri x"
hashbang.command_delay
hashbang.autojoin = "#!opers,#!,#!social,#!os,#!politics,#!support,#!git"
hashbang.autojoin = "#!git,#!support,#!politics,#!os,#!social,#!,#!opers"
hashbang.autorejoin
hashbang.autorejoin_delay
hashbang.connection_timeout
@ -345,7 +345,7 @@ sdf.local_hostname
sdf.usermode
sdf.command
sdf.command_delay
sdf.autojoin = "#helpdesk,#anonradio,#gopher,#sdf"
sdf.autojoin = "#gopher,#sdf,#anonradio,#helpdesk [5t]:10"
sdf.autorejoin
sdf.autorejoin_delay
sdf.connection_timeout
@ -427,7 +427,7 @@ oftc.local_hostname
oftc.usermode
oftc.command
oftc.command_delay
oftc.autojoin = "#debian-devel,#fish"
oftc.autojoin = "#fish,#debian-devel"
oftc.autorejoin
oftc.autorejoin_delay
oftc.connection_timeout
@ -468,7 +468,7 @@ freenode.local_hostname
freenode.usermode
freenode.command
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_delay
freenode.connection_timeout

View File

@ -49,6 +49,7 @@ perl.highmon.nick_prefix = "<"
perl.highmon.nick_suffix = ">"
perl.highmon.output = "buffer"
perl.highmon.short_names = "off"
perl.rslap.slapback = "random"
python.apply_corrections.check_every = "5"
python.apply_corrections.data_timeout = "60"
python.apply_corrections.message_limit = "2"
@ -67,7 +68,7 @@ python.buffer_autoclose.age_limit = "30"
python.buffer_autoclose.ignore = ""
python.buffer_autoclose.interval = "1"
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.buffer_number = "on"
python.go.color_name = "black,cyan"