Received: from mail.iirc.net (iirc.net [81.168.57.93]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 384347819CD for <~alpine/users@lists.alpinelinux.org>; Sat, 26 Dec 2020 21:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iirc.net; s=dkim20191002; h=Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mmhq1TXv4oaaUVJ6jlznzYPcI1qz5cnN6Vdqi2zcP1o=; b=t5RO1X4IMVQIvVS3tPC+weWVXg 00B5EsqTHogD4EJfj2MRqe3BgHjLAeAqp4VSGgKmHmuSJljyPUzbSzaL3IwnS2RWP+Fv8O4lNNG1Q eWhSJQMvppE8MnM9Vb57vpAXQGvN6LB6SKVORUCT1e4JUbf9Qp2UIaUbBV03u3bofGwE=; Received: from dave by mail.iirc.net with local (Exim 4.93) (envelope-from ) id 1ktGkL-0002aY-De for ~alpine/users@lists.alpinelinux.org; Sat, 26 Dec 2020 21:05:05 +0000 Date: Sat, 26 Dec 2020 21:05:05 +0000 From: David Restall To: ~alpine/users@lists.alpinelinux.org Subject: Is there a preferred way to change busybox aliases Message-ID: <20201226210505.LdFcLG7Fs%dave@restall.net> User-Agent: s-nail v14.8.16 Hi, New to Alpine Linux but am enjoying the experience :-) My preferred editor is vim. I installed it using apk and can run it quite happily. I would really like vim to be the system editor so when I type 'vi filename' it uses vim instead of busybox vi : alpine:/etc# which vi /usr/bin/vi alpine:/etc# ls -al /usr/bin/vi lrwxrwxrwx 1 root root 12 Dec 25 21:46 /usr/bin/vi -> /bin/busybox I could just do : alpine:/etc# cd /usr/bin/; rm vi; ln -s vim vi but that seems a bit brutal, on other distros, there is an 'alternatives' package for this sort of issue, is there anything similar in Alpine ? Regards, D lists/alpine/users/2020-12-26.tx alpineusers +----------------------------------------------------------------------------+ | Dave Restall, Computer Anorak, Geek, Cyclist, Radio Amateur G4FCU, Bodger | | Mob +44 (0) 7973 831245 Skype: dave.restall Radio: G4FCU | | email : dave@restall.net - Anti-SocialMediaist - Web : Not Ready Yet :-( | +- QOTD ---------------------------------------------------------------------+ | There is no sadder sight than a young pessimist. | +----------------------------------------------------------------------------+