!MiPOrXJIJudCrKmvfO:matrix.org

general

223 Members
12 Servers

Load older messages


SenderMessageTime
6 Jan 2024
@_discord_788875075847454742:t2bot.ioElsie or hell even if you didn't have export in front 18:12:07
@_discord_788875075847454742:t2bot.ioElsie the only reason to use export is to make it available to sub-processes 18:12:30
@_discord_788875075847454742:t2bot.ioElsie
function bar() {
  export foo=5
}

function baz() (
  echo $foo
)

bar
baz
18:12:59
@_discord_1174247883814486048:t2bot.iovigress7 Then why, when I edit the pacscript to export mod_dir in package(), does post_install() not inherit mod_dir? 18:13:02
@_discord_788875075847454742:t2bot.ioElsie that would workj 18:13:03
@_discord_788875075847454742:t2bot.ioElsie * that would work 18:13:05
@_discord_788875075847454742:t2bot.ioElsie hm 18:14:49
@_discord_1174247883814486048:t2bot.iovigress7
~> ll /usr/bin/prettier
lrwxrwxrwx 1 root root 18 Jan  6 21:58 /usr/bin/prettier -> //bin/prettier.cjs
18:15:11
@_discord_788875075847454742:t2bot.ioElsie OH 18:15:35
@_discord_788875075847454742:t2bot.ioElsie I know why 18:15:40
@_discord_788875075847454742:t2bot.ioElsie ok so how we handle postscripts is like this: 18:15:59
@_discord_788875075847454742:t2bot.ioElsie
<pacscript pasted here>

<postscript function call here>
18:16:17
@_discord_788875075847454742:t2bot.ioElsie even though it's "exported", this is a new run of the script so it won't call it 18:16:32
@_discord_788875075847454742:t2bot.ioElsie like this 18:16:39
@_discord_1174247883814486048:t2bot.iovigress7 I'll define it outside of the functions then 18:17:23
@_discord_788875075847454742:t2bot.ioElsie yeah that would work 18:17:28
@_discord_1174247883814486048:t2bot.iovigress7 Aight, it works 18:25:20
@_discord_1174247883814486048:t2bot.iovigress7 Thanks for the lecture, that filled in some gaps in my knowledge 18:26:11
@_discord_788875075847454742:t2bot.ioElsie yeah most of the time you'll use:

foo() {}
local foo=bar
18:36:34
7 Jan 2024
@_discord_788875075847454742:t2bot.ioElsie godbolt.org 02:51:06
@_discord_723508718381039636:t2bot.ioalwindoss How do you generate this? 02:51:08
@_discord_1174247883814486048:t2bot.iovigress7 I'm going through the Rust book and having a ton of fun 15:42:08
@_discord_272835246272020481:t2bot.ioBrox of D Rust is fun 16:12:57
9 Jan 2024
@_discord_684894551508516877:t2bot.iozog_. joined the room.05:24:47
@supersketchy7:matrix.lnjng.comWa tg sldk joined the room.18:08:40
@_discord_852681419281268776:t2bot.ioandrewtangfanboy joined the room.18:20:58
11 Jan 2024
@_discord_852681419281268776:t2bot.ioandrewtangfanboy 21:37:19
31 Jan 2024
@fallcheetah7373:matrix.org@fallcheetah7373:matrix.org left the room.07:04:28
6 Feb 2024
@supersketchy7:matrix.lnjng.comWa tg sldk changed their profile picture.05:33:06
12 Feb 2024
@supersketchy7:matrix.lnjng.comWa tg sldk
In reply to @_discord_272835246272020481:t2bot.io
Rust is fun
nerd
06:19:28

There are no newer messages yet.


Back to Room ListRoom Version: 6