[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs freezing when running any shell command after loading bashrc f
From: |
Yassine Chaouche |
Subject: |
Re: Emacs freezing when running any shell command after loading bashrc file with a specific line |
Date: |
Thu, 12 Sep 2024 10:32:31 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 |
Le 9/11/24 à 16:22, Yassine Chaouche a écrit :
[...]
1. Create a .bashrc_emacs file with a simple 3-lines content like this one:
# -*- shell-script -*-
export PATH="$PATH":~/SYNCHRO/bin/ # put the path to where net.ip.private is
export BOOTTIME=$(sys.boottime)
Sorry I meant to say where sys.boottime is.
My initial mail went with net.ip.private,
but it is a script that uses ifdata which is not installed by default,
so I have written another script that uses last and awk,
which should be installed by default on all modern linuces.
Best,
--
yassine -- sysadm
+213-779 06 06 23
http://about.me/ychaouche
Looking for side gigs.