You are not logged in.
Pages: 1
I have Arch Linux installed in two computers and they both employ the same shell, Zsh. In the first computer man history produces
history(n) Tcl Built-In Commands history(n)
________________________________________________________________________________________________________________________________________________________________________
NAME
history - Manipulate the history list
SYNOPSIS
history ?option? ?arg arg ...?and in the second it produces
HISTORY(3) Library Functions Manual HISTORY(3)
NAME
history - GNU History Library
COPYRIGHT
The GNU History Library is Copyright (C) 1989-2014 by the Free Software Foundation, Inc.The second history program behaves as expected but the first does not. Maybe I have accidentally installed a wrong program or I'm missing some important libraries.
Last edited by catnap (2018-06-26 09:51:42)
Offline
Not an Installation issue, moving to NC...
Offline
Generally in Arch Zsh is default shell and history command is aliased to 'fc -l 1'
fc is zsh built-in command. If your history command is not working you have to put alias definition on your .zshrc:
alias history='fc -l 1'Last edited by sincomil (2018-06-26 08:54:30)
Offline
Generally in Arch Zsh is default shell and history command is aliased to 'fc -l 1'
fc is zsh built-in command. If your history command is not working you have to put alias definition on your .zshrc:alias history='fc -l 1'
The solution works. The man pages still look different but the functionality looks the same.
Offline
The manpage is different because you have installed tcl on the first computer, but not on the second. If you want to read the gnu manpage, then it is available in the man section 3. The tcl history manpage has a higher section priority, so it is displayed instead if you don't specify the section.
man 3 historyYou can list all manpages with a specific title with whatis:
whatis historyLast edited by progandy (2018-06-26 10:06:53)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Pages: 1