summaryrefslogtreecommitdiff
path: root/alacritty-completions.zsh
diff options
context:
space:
mode:
authorTobias Kortkamp <t6@users.noreply.github.com>2019-03-08 17:36:23 +0100
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-03-08 16:36:23 +0000
commit0ec4bd28dadcf476baf6180af7cf93bea9214f19 (patch)
treeb55ee69fe325b411c8161263519ed8da99a15867 /alacritty-completions.zsh
parentea87c1546b98265332239ccf6ff7eb45d7549ee2 (diff)
downloadalacritty-0ec4bd28dadcf476baf6180af7cf93bea9214f19.tar.gz
alacritty-0ec4bd28dadcf476baf6180af7cf93bea9214f19.zip
Add support for SpawnNewInstance using linux compat on FreeBSD
This fixes opening a new instance in the shell's current working directory. The code currently assumes that there is a Linux compatible procfs mounted on /proc which is not the case on FreeBSD. However linprocfs(5) is often mounted on /compat/linux/proc so we can use that here for the time being. A proper solution would look up the kern.proc.cwd.<pid> sysctl instead, but that is not currently easily doable due to missing KERN_PROC_CWD and struct kinfo_file definitions in the libc crate.
Diffstat (limited to 'alacritty-completions.zsh')
0 files changed, 0 insertions, 0 deletions