|
2005-12-21
, 04:04
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#2
|
|
2005-12-21
, 04:28
|
|
Posts: 32 |
Thanked: 2 times |
Joined on Oct 2005
@ australia
|
#3
|
$ cd /bin
$ LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim
paste that command into vi
esc
:w vim
:q
$ chmod a+x vim
|
2005-12-21
, 05:34
|
Posts: 8 |
Thanked: 1 time |
Joined on Dec 2005
|
#4
|
|
2005-12-21
, 05:45
|
Posts: 45 |
Thanked: 1 time |
Joined on Dec 2005
|
#5
|
|
2005-12-21
, 09:30
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#6
|
#!/bin/sh LD_LIBRARY_PATH=/var/lib/install/usr/lib:$LD_LIBRARY_PATH exec /var/lib/install/usr/bin/vim "$@"
|
2005-12-21
, 11:41
|
|
Posts: 32 |
Thanked: 2 times |
Joined on Oct 2005
@ australia
|
#7
|
|
2005-12-21
, 13:19
|
Posts: 211 |
Thanked: 3 times |
Joined on Oct 2005
|
#8
|
OK i have worked it out!
cd to the directory /bin
start vi with the long comand $ LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim
paste that command into vi
then save the file as “vim” by hitting escape and then :w vim
exit out of vim :q
then make that file executable $ chmod a+x vim
then you can start vim just by typing vim
if there is a less confusing way of explaining that go rite ahead and suggest it.
|
2005-12-21
, 13:34
|
|
Posts: 32 |
Thanked: 2 times |
Joined on Oct 2005
@ australia
|
#9
|
cd /bin/ LD_LIBRARY_PATH=/var/lib/install/usr/lib /var/lib/install/usr/bin/vim i#!/bin/sh LD_LIBRARY_PATH=/var/lib/install/usr/lib:$LD_LIBRARY_PATH exec /var/lib/install/usr/bin/vim "$@"
:w vim :q
|
2005-12-21
, 15:29
|
Posts: 16 |
Thanked: 25 times |
Joined on Dec 2005
|
#10
|
export PATH=$PATH:/var/lib/install/usr/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/var/lib/install/usr/lib
The .profiles file dose not exist, do i create it? How do i format this .profiles file
Help on this will make editing much easier.