The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
492 views

In csh/tcsh, how can I incorporate literal curly braces into a command that's processed with eval?

To give more details, the situation is this. I'm trying to prepare modulefiles (i.e., of the type used by the environment-modules package) to set up environment and aliases for third-party software. ...
1
vote
1answer
520 views

Using different .cshrc.user files

I have two .cshrc.user files for two different projects. For example, they set the same environment variables but with different values. When I'm currently switching between projects, I run a python ...
0
votes
1answer
129 views

how to set up new keybinding for finding last command executed using the first few characters of the command in csh

I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command ...
6
votes
0answers
255 views

How to make auto complete available for directories in cdpath for tcsh?

I just learned the trick for setting up cdpath in tcsh and it looks pretty useful. However seems auto-complete of sub-folder names doesn't come with it, is there any trick available on that? It'd be ...
1
vote
0answers
29 views

What does the datasize limit in a csh actually do?

My .cshrc had set up a "limit datasize 256000", however several of my running processes are currently exceeding that. For example: VmPeak: 496840 kB VmSize: 496840 kB VmLck: 0 kB VmHWM: ...
1
vote
0answers
323 views

csh: Every command returns “no match”

I'm on mac OSX mountain lion working with csh. I'm not quite sure what I did, but suddenly every standard unix command I run returns a "no match". Example: $ echo "Hello" echo: no match $ rm a.txt ...
1
vote
0answers
317 views

Converting csh or tsh scripts to Bash

I am looking for a tool that can convert scripts written in csh or tcsh to a bash scripts. At least on the basic stuff so that I don't have to go through the process of translating everything from ...
0
votes
0answers
32 views

Run script on SSH login to server

I'm trying to work out how to get SSH to run a script before passing a shell to me. The reason for this is that I will be logging into shared users on many boxes and I want my own configuration when I ...
0
votes
0answers
69 views

csh: how to pattern match a file name?

I need to modify a csh script which essential does different kind file handling based on file name. The script has the following structure: foreach file ($sourceDir/*) if (-d "$file") then ...
0
votes
0answers
13 views

How to customize command completion in (t)csh?

i knew that it's related to complete built in command when you hit tab key. in the company, we have this xyz command complete | grep xyz xyz 'p/3/$$:1_$:2/' 'p/2/$abc_$:1/' ...
0
votes
0answers
11 views

remove permission spam for find is not working tcsh enviroment

Hello this question is asked a lot like here: However, my environment on (csh or tcsh) seems to add a space but I can't figure out why. for instance, on bash: find /. -user `whoami` 2>/dev/null ...
0
votes
0answers
20 views

goto inside alias is working only in one way

Why this is not working? #!/bin/csh goto skip_background run_in_background2: echo inside background goto back_from_backgroung skip_background: echo skipped alias run_in_backgroundx 'echo aliass \ ...