X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BAA3A385042B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net Subject: Re: Wrong expansion of ~/ To: cygwin AT cygwin DOT com References: From: Thomas Wolff X-Tagtoolbar-Keys: D20200824115029290 Message-ID: <83c5ffc2-02ac-e38e-6e8c-9963ac15b62d@towo.net> Date: Mon, 24 Aug 2020 11:50:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K1:9amYAdZxpDNybRFqWZnaVQMQ3hGJIvUmRk2JTtVPKIuN9nCYOyL hWKx9sF5Y+yiK5DYDOWCB2rqyEPLoiZiO2aiKYzpYWhFdhScm4s7Ixy4gvtwloQhwqyz6AQ JPhgs/KAzu1eKw+cjiylHxghCshDgDUVucFz33XqkVsJLLiQ9gUDy8g9q22ECkQDJ09XESB 69OyDHtzWWdL+i1iG3WOg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Yojg7CKM20U=:f1MBvYzp7ZuWF9X6/CWMJD hMVN8aZs6adlhKhTtOyGSkHO5+fAS3t4xG8lZv9dF6u3L0/98JiyYet/y1D3jNv/ZLlhC8SAI ms+DgguA/NeZH/4nTnHF7NN6NIiGvR2C/LtLcu6yttDSl9duAuYeEBlZpzwiUCbb2D82x00f9 OvsRrHb21Is87W6qfCKyiF9KcJFBRWr7BedSfgC5E3d86VRiZpjvPJpWGKY1xdkYzEubRB1AK K2YmxR7G5XGp9qlZxMP1hPdCrTDoP9PTV8MU2P+6o2dGnEAEPrupcqa1QOh2BVkxcFu2iA1rm f40qY46VtRQhAxtY60Pgt6m5F0RStIBDpBkSuBoXeYNc/b1ZGBaWZrCKvw1MtoIyxzrT2cDEU tgYCZqPFLf+uqAUnHHydewRaQIMes7wSo2n10vdbgljR/raMV8DVArLDhIcizSM4EfHQi4FvX cGkyeCGchCgO2jijHIsIpbAt8rmrMkAJFFFFA6OsFoHi79HFO3ba3184Y9RfkWaJtkCFSOqS6 fvNRewWXa3mhHtZzgVIEa/6VxMoPQ8i2lVXq0FflcxR6MhldB3CpU2B+enrdr6QKRt3E0mrin CzWwDlYa8Kv1krFOs6zkmT3qHhKu5QfNSr3eTpCg7kRUC4tHcAoKR9QePlukS8uVipZC+aURI 5pQ3W6X1RZMOuI0MGHjBARoJW60ufujb0V0U8elDQVFbeD8lvVq3NFU9Fd/CbOgC/C6QRo3F4 VUwglUXbGvpNvtq4J7PffclZ2Ak3iPvnqul676EwavtSP259KNuR1GP/XdpNtVf3z2IadC6QZ DgDgHMNF2MalofUlMSyQFvjs77V7D8bFwd6/d9ldFs9BAdEuWNcFxeTzUoQHHTyextBrCpR X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07O9p2mX026218 Am 24.08.2020 um 10:05 schrieb Morten Kjærulff via Cygwin: > Hi, > > I have a script that starts several tmux panes with my favorite commands. > In some (*some* and only *sometimes*) of the panes I see: > > -bash: /home/xxxxxP/.git-completion.bash: No such file or directory > -bash: /home/xxxxxP/.git-prompt.sh: No such file or directory > > My .bashrc has: > > $ grep git .bashrc > . ~/.git-completion.bash > . ~/.git-prompt.sh > > My userid is xxxxxf (and not xxxxxP). > > Is this known? What if you trace `echo $HOME; echo ~` after the `.`? I have occasional cases where $HOME and ~ start to be different in my shell, which is quite weird and should not happen according to bash documentation. Thomas > > /Morten > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple